[pcre-dev] [Bug 867] New: "\w" no longer functions

Página superior
Eliminar este mensaje
Autor: Mart Goodall
Fecha:  
A: pcre-dev
Asunto: [pcre-dev] [Bug 867] New: "\w" no longer functions
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=867
           Summary: "\w" no longer functions
           Product: PCRE
           Version: N/A
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: high
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: mart.goodall@???
                CC: pcre-dev@???



I have upgraded from version 6.7 to 7.9, made no further change other than
recompile, and now the code does not return the same result.
The search string I am using is "[^\w\s.|-]" and when searching regular text
such as "Maureen Hubbard" (8 bits per character), it used to fail (correctly)
with pattern not found, but now returns the first character "M" as matching the
pattern. As a workaround, I have replaced the search pattern with "[^A-Za-z0-9
]" which functions as expected, i.e. fails to match a pattern. A grep on google
shows someone else had a similar issue.


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