[pcre-dev] Problem with Unicode codepoints in hex

Kezdőlap
Üzenet törlése
Szerző: jcd
Dátum:  
Címzett: pcre-dev, ph10
Tárgy: [pcre-dev] Problem with Unicode codepoints in hex
Dear list,

Can some kind soul enlight me about what I'm doing wrong here:
C:\msys\1.0\home\Jean-Christophe\pcre\pcre-8.12\.libs>pcretest -d
PCRE version 8.12 2011-01-15

re> /abc[\x2000-\x200A]*/
Failed: range out of order in character class at offset 14
re> /abc[\x{2000}-\x{200A}]*/
Failed: character value in \x{...} sequence is too large at offset 11

It seems to me that hex codepoints have a problem.
Or is it me?