[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 #3 from Pavel Kostromitinov <pavel@???> 2009-12-15 15:32:14 ---
Here (attached) is my attempt to implement checking for \w as \p{L} - as a
testcase, all the others will follow.
It requires UTF8_USE_UCP to be set, along with SUPPORT_UTF8 and SUPPORT_UCP.

I would greatly appreciate if you could review the changes and correct me if I
did something wrong, or missed something.
I did not ass a new code in some places where it seemed to be a branch for
non-utf8 case.

Also it seems pcre_study.c is to be corrected for this to work, but I just pass
PCRE_NO_START_OPTIMIZE to pcre_exec for now.


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