src/vs/workbench/contrib/search/browser/searchActions.ts/toggleRegexCommand
export const toggleRegexCommand = (accessor: ServicesAccessor) => {
	const searchView = getSearchView(accessor.get(IViewsService));
	if (searchView) {
		searchView.toggleRegex();
	}
};