It seems like the pcre library that J uses wasn't built with
"--enable-unicode-properties" in the configure.


On Thu, Mar 12, 2009 at 1:26 PM, Alexander Mikhailov <[email protected]> wrote:
>
>
> Hi,
>
> I'm trying to construct a regular expression which recognizes a Unicode
> class of characters.
>
> The following command
>
> '\p{Lu}' rxmatch 'bAb'
>
> produces the error
>
> |pattern error at offset 1     : rxcomp
> |   (rxerror'')    13!:8[12
>
> I expect it should return 1 1 . The command
> '\d[ab]' rxmatch 'qw1awer' produces 2 2 , as expected. Am I doing
> something wrong?
>
> I've checked http://www.jsoftware.com/help/pcre/pcrepattern.html ,
> it says, "When PCRE is built with Unicode character property support,
> three additional escape sequences to match character properties are
> available..." Does it mean there are different versions of ~tools/
> regex/jpcre.dll?..
>
> Thank you,
>
> Alexander
>
>
>
>
> ----------------------------------------------------------------------
> 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