Validate plugin and number validation
I find that the number validation is not considering numbers starting and ending in decimals as valid numbers eg:
.12 and 12.0 are not valid yet 0.12 and 12.0 are.
I found that this can be 'fixed' by editing the number regex from this:
^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$
to this
^-?(?:\d*|\d{1,3}(?:,\d{3})+)(?:\.\d*)?$
Could this be made the standard number validation?
Or is there a better way of overiding the number validation than hacking the jquery.vlidate.min.js file?
Finally can any one see a reason why my quick-fix regex might fail?