[haiku-commits] r40939 - haiku/trunk/src/apps/text_search

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 14 Mar 2011 01:06:23 +0100 (CET)

Author: mmadia
Date: 2011-03-14 01:06:23 +0100 (Mon, 14 Mar 2011)
New Revision: 40939
Changeset: http://dev.haiku-os.org/changeset/40939

Modified:
   haiku/trunk/src/apps/text_search/Grepper.cpp
Log:
Added '`' to the list of escaped characters.


Modified: haiku/trunk/src/apps/text_search/Grepper.cpp
===================================================================
--- haiku/trunk/src/apps/text_search/Grepper.cpp        2011-03-14 00:05:39 UTC 
(rev 40938)
+++ haiku/trunk/src/apps/text_search/Grepper.cpp        2011-03-14 00:06:23 UTC 
(rev 40939)
@@ -302,7 +302,8 @@
                        ||  (c == '?')  || (c == '*')
                        ||  (c == '+')  || (c == '-')
                        ||  (c == ':')  || (c == '^')
-                       ||  (c == '\'') || (c == '"')) {
+                       ||  (c == '\'') || (c == '"')
+                       ||  (c == '`')) {
                        *dstPtr++ = '\\';
                } else if ((c == '\\') || (c == '$')) {
                        // Some characters need to be escaped


Other related posts:

  • » [haiku-commits] r40939 - haiku/trunk/src/apps/text_search - mattmadia