[pcre-dev] [Bug 897] \w and others based on Unicode properti…

Kezdőlap
Üzenet törlése
Szerző: Pavel Kostromitinov
Dátum:  
Címzett: pcre-dev
Régi témák: [pcre-dev] [Bug 897] New: \w and others based on Unicode properties
Tárgy: [pcre-dev] [Bug 897] \w and others based on Unicode properties
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #14 from Pavel Kostromitinov <pavel@???> 2009-12-17 18:06:20 ---
(In reply to comment #12)
> On Wed, 16 Dec 2009, Pavel Kostromitinov wrote:
>
> > Well, I can't figure out how to code [\W] using UCP, seems there's no way to
> > encode it with currently available opcodes.
>
> I cannot remember how [\P] is done, without looking at the code, and I am
> now going to log off and go out. I'll try to check tomorrow, but I am
> busy all day so it might not be till Friday.
>


Well, the problem is that [\W] (NOT (letter or digit)) is NOT the same as
[\PL\PN] (NOT letter or NOT digit), since latter will in fact match almost
anything...


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