Introduce a cleaner and more comprehensive mechanism to escape the search term text used for the regular expression for highlighted text to ensure that "unterminated" and "too few" warnings are not experienced if the search term text contains one or more of a minimal set of characters (\, *, +, ?, |, {, [, (,), ^, $,., #, and white space)
Introduce a cleaner and more comprehensive mechanism to escape the search term text used for the regular expression for highlighted text to ensure that "unterminated" and "too few" warnings are not experienced if the search term text contains one or more of a minimal set of characters (\, *, +, ?, |, {, [, (,), ^, $,., #, and white space)

michael-mayes/finder