javascript - \d only matchs 0-9 digits? -


as far know, \d should matchs non-english digits, e.g. ۱۲۳۴۵۶۷۸۹۰ doesn't work in javascript.

see jsfiddle: http://jsfiddle.net/xzpam/

is normal behavior?

javascript not support unicode regex matching (and far language such true).

http://www.regular-expressions.info/unicode.html


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -