diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx index fcb125066..9fc92a42f 100644 --- a/apps/web/src/components/editor/index.tsx +++ b/apps/web/src/components/editor/index.tsx @@ -363,7 +363,7 @@ function EditorChrome( ) : null} - + { const regex = (s: string, settings: SearchSettings): RegExp => { const { enableRegex, matchCase, matchWholeWord } = settings; const boundary = matchWholeWord ? "\\b" : ""; - console.log(boundary); return RegExp( boundary + (enableRegex ? s : s.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&")) +