src/vs/workbench/contrib/search/browser/searchActionsNav.ts/toggleWholeWordCommand
function toggleWholeWordCommand(accessor: ServicesAccessor) {
	const searchView = getSearchView(accessor.get(IViewsService));
	searchView?.toggleWholeWords();
}