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

Top Page
Delete this message
Author: Pavel Kostromitinov
Date:  
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.

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




--- Comment #10 from Pavel Kostromitinov <pavel@???> 2009-12-16 17:48:56 ---
>> Not sure exactly what you are asking here.


Well, I added an attachment describing what I meant.
It's a patch for pcre_internal.h and pcre_exec.c, seemingly handling all what
is needed (in pcre_exec()) for UTF_USES_UCP to work.

The only functions added are ucp_XXX at the end of pcre_exec, and they are only
called if they are needed. Surely, one could do it all as #defines or just
inline it, but this way it looks much cleaner in my opinion.


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