[haiku-bugs] Re: [Haiku] #8776: [Text Search] Unable to find symbol < ' > in files where it does exist.

  • From: "x-ist" <trac@xxxxxxxxxxxx>
  • Date: Thu, 26 Jul 2012 15:26:48 -0000

#8776: [Text Search] Unable to find symbol < ' > in files where it does exist.
---------------------------------------+----------------------------
   Reporter:  x-ist                    |      Owner:  stippi
       Type:  bug                      |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/TextSearch  |    Version:  R1/Development
 Resolution:                           |   Keywords:  Text Search
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  x86
---------------------------------------+----------------------------

Comment (by x-ist):

 The problem is that since the search pattern is wrapped into double quotes
 (like "pattern")
 the symbol <'> as part of the double quoted string must not be escaped.
 However it is escaped in Line 305 of Grepper.cpp.
 Removing that escaping solves the issue.

 Maybe someone with commit rights could remove that escaping.
 It's not worth a patch, oh?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8776#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: