Quote:
Originally Posted by pbruna I could not resolve this issue. |
But in the meanwhile I could :-)
The problem is not the UTF-8 char in the beginning of the word, but the word boundary "\b" metacharacter.
The "\b" apperently matches the first byte of the UTF-8 character preventing the remaining regexp to match against the word.
You can verify this when you remove the first "\\b" in your ZmDateES2ObjectHandler.REGEX:
ZmDateES2ObjectHandler.REGEX = new RegExp( $RE_NEXT_THIS_LAST + $RE_SP + $RE_DOW + "\\b", "ig");
This works for me. But maybe there is a better solution to this...
Regards
Thomas