Hi there,

issue with regex when trying to test if a char is within a unicode range

var testIsArabic:Boolean = /\u0627/.test(str.charAt(0)); // this works
testing for arabic chars of unicode 0627

var testIsArabic:Boolean = /[\u0627-\uFFFF]/.test(str.charAt(0)); //// this
range does not work, returns false

NOTE: the str.charAt(0) is 0627

any ideas?

cheers,

MaTT

Reply via email to