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).
Comments
Post a Comment