From f6c4812a0902341d3b959a025887159180975522 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Mon, 14 Mar 2011 00:06:23 +0000 Subject: [PATCH] Added '`' to the list of escaped characters. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40939 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/text_search/Grepper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/text_search/Grepper.cpp b/src/apps/text_search/Grepper.cpp index 7cf235b637..e844c029bc 100644 --- a/src/apps/text_search/Grepper.cpp +++ b/src/apps/text_search/Grepper.cpp @@ -302,7 +302,8 @@ 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