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:
@@ -302,7 +302,8 @@ Grepper::_SetPattern(const char* src)
|
|||||||
|| (c == '?') || (c == '*')
|
|| (c == '?') || (c == '*')
|
||||||
|| (c == '+') || (c == '-')
|
|| (c == '+') || (c == '-')
|
||||||
|| (c == ':') || (c == '^')
|
|| (c == ':') || (c == '^')
|
||||||
|| (c == '\'') || (c == '"')) {
|
|| (c == '\'') || (c == '"')
|
||||||
|
|| (c == '`')) {
|
||||||
*dstPtr++ = '\\';
|
*dstPtr++ = '\\';
|
||||||
} else if ((c == '\\') || (c == '$')) {
|
} else if ((c == '\\') || (c == '$')) {
|
||||||
// Some characters need to be escaped
|
// Some characters need to be escaped
|
||||||
|
|||||||
Reference in New Issue
Block a user