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:
parent
32e5ce1060
commit
f6c4812a09
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user