[pcre-dev] [Bug 1450] Incompatibility that stuck website wit…

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1450] Incompatibility that stuck website with vBulletin
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #6 from Philip Hazel <ph10@???> 2014-03-06 16:06:30 ---
On Thu, 6 Mar 2014, Zoltan Herczeg wrote:

> --- Comment #5 from Zoltan Herczeg <hzmester@???> 2014-03-06 12:45:20 ---
> I am sorry, but I don't understand what you want. That pattern is wrong and
> needs fixing, and I explained how can you do it (if dash should be part of the
> character set). From my perspective it doesn't matter where or how it is used.


And if you try this regex in Perl with the -w (warning) flag, you get
this:

False [] range "_-\s" in regex; marked by <-- HERE in m/[_-\s <-- HERE ]/ at
(eval 1) line 1, <STDIN> line 1.

This is the ChangeLog entry for PCRE version 8.34:

34. Character classes such as [A-\d] or [a-[:digit:]] now cause compile-time
    errors. Perl warns for these when in warning mode, but PCRE has no facility
    for giving warnings.


Philip


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