diff --git a/src/apps/text_search/Grepper.cpp b/src/apps/text_search/Grepper.cpp index 053dcbb47c..a20103e7d0 100644 --- a/src/apps/text_search/Grepper.cpp +++ b/src/apps/text_search/Grepper.cpp @@ -302,8 +302,7 @@ Grepper::_SetPattern(const char* src) || (c == '?') || (c == '*') || (c == '+') || (c == '-') || (c == ':') || (c == '^') - || (c == '\'') || (c == '"') - || (c == '`')) { + || (c == '"') || (c == '`')) { *dstPtr++ = '\\'; } else if ((c == '\\') || (c == '$')) { // Some characters need to be escaped