[pcre-dev] [Bug 1009] "\s" at the end of a character class r…

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1009] "\s" at the end of a character class removes vertical-tab
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #1 from Philip Hazel <ph10@???> 2010-07-26 09:35:45 ---
On Mon, 26 Jul 2010, Justin Viiret wrote:

> If you create a character class that matches anything (e.g. [\x00-\xff]) and
> append \s to it (yielding [\x00-\xff\s], the code to handle \s in
> pcre_compile.c removes the vertical-tab character from the class.


Ooops, yes, I can imagine why it does this. Stupid bit of code. Thanks;
I'll fix it for the next release.

Philip


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