[pcre-dev] [Bug 1076] \b does not work with \)

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1076] \b does not work with \)
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1076

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





--- Comment #1 from Philip Hazel <ph10@???> 2011-01-27 17:21:45 ---
I am afraid you have misunderstood how \b works. \btest\)\b matches a word
boundary, followed by "test", followed by ")" followed by a word boundary. A
word boundary is a place where a word character (letter, digit, or underscore)
is adjacent to a non-word character. After matching ")", the current position
is not at a word boundary, because both ")" and " " are non-word characters.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email