[pcre-dev] [Bug 651] Accepting wrong posix class name

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 651] Accepting wrong posix class name
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Philip Hazel <ph10@???> changed:

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





--- Comment #1 from Philip Hazel <ph10@???> 2007-12-31 17:04:18 ---
I have committed a patch which brings PCRE closer to Perl in this regard. It
used to recognize a POSIX character class only when the characters between [:
and :] were letters. Perl seems to allow any characters - and then gives an
"Unknown" error. PCRE now gives errors in cases where Perl does, including your
examples below. However, PCRE also gives an error for [[:l\ower:]] which Perl
treats as [[:lower:]] but that would be very hard to change, and I don't think
it is important.


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