Closed AmirSasson closed 6 years ago
such as "-0.8" a valid numeric string, i get an error. seems like the regex used to validate that missing a dot
This is the regex: https://github.com/chriso/validator.js/blob/master/src/lib/isNumeric.js
If you think it's buggy, create an issue or PR on validator.js repository.
validator.js
submitted a PR to validator JS
such as "-0.8" a valid numeric string, i get an error. seems like the regex used to validate that missing a dot