On Wed, Mar 18, 2009 at 3:39 PM, June Kim <[email protected]> wrote:
> On Wed, Mar 18, 2009 at 11:35 AM, Alexander Mikhailov <[email protected]> 
> wrote:
>>
>>
>> So, I guess, 1) to match Unicode classes in J means I have
>> to get Unicode-compliant jpcre.dll and 2) to match them
>
> Are you using Windows? Then try pcre3.dll from
> http://gnuwin32.sourceforge.net/packages/pcre.htm
>
> It seems like to be compiled with the unicode property option
> --enable-unicode-properties.
>

replacing jpcre.dll with pcre3.dll:

   '\p{Lu}' rxmatch 'bAb'
1 1


>
>> is hard because of various ways to represent Unicode. And
>> I agree that C# isn't frequently used with Unicode
>> identifiers - but the specification says so, and I don't
>> want to really bend that.
>>
>> Sigh. Looks like I need a practical workaround.
>>
>> And I wonder how to make Yahoo to display Unicode properly.
>>
>> -----
>>
>> Date: Mon, 16 Mar 2009 23:28:28 -0700 (PDT)
>> From: Oleg Kobchenko <[email protected]>
>> Subject: Re: [Jprogramming] regex matching Unicode classes?
>> To: Programming forum <[email protected]>
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>> Yeah, you need to fix your email client.
>> So you are parsing C#. I have yet to see a C# program
>> with Unicode identifiers. Obviously Unicode character
>> classes are not supported by PCRE shipped with J.
>> Also it may need to operate on two0byte Unicode rather
>> than UTF-8.
>>
>>
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to