Added '`' to the list of escaped characters.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40939 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2011-03-14 00:06:23 +00:00
parent 32e5ce1060
commit f6c4812a09

View File

@ -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