limcheekin / jquery-validation-ui

JQuery Validation UI Plugin - Client Side Validation without writing JavaScript

Home Page:http://limcheekin.github.io/jquery-validation-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matches does not work with \s, \d, etc

bluesliverx opened this issue · comments

The problem is that the code new RegExp("\d{3}") would fail for "010". What actually needs to happen is new RegExp("\d{3}") (notice the double backslash). This should occur in the taglib. I have a fix ready to go for this and will submit the pull request.

ezoic increase your site revenue