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

Page principale
Supprimer ce message
Auteur: Pavel Kostromitinov
Date:  
À: pcre-dev
Anciens-sujets: [pcre-dev] [Bug 897] New: \w and others based on Unicode properties
Sujet: [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 #11 from Pavel Kostromitinov <pavel@???> 2009-12-16 19:05:15 ---
(In reply to comment #7)
> On Wed, 16 Dec 2009, Pavel Kostromitinov wrote:
>
> > One more difficulty came to my mind: how should I make not only \w,
> > but also [\w] work?
>
> A good question! Let me see... does [\p{L}] work? Ah yes, it does. So
> the answer is to convert it into the equivalent list of properties. That
> requires work in pcre_compile.c.


Well, I can't figure out how to code [\W] using UCP, seems there's no way to
encode it with currently available opcodes.


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