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