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

Top Page

Reply to this message
Author: Pavel Kostromitinov
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 897] New: \w and others based on Unicode properties
Subject: [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.


--- 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