Jithinqw / Cerberus

JavaScript validations made easy
https://jithinqw.github.io/Cerberus/
GNU General Public License v3.0
2 stars 1 forks source link

Move RegEx to JSON #8

Closed Jithinqw closed 5 years ago

Jithinqw commented 5 years ago

Since we have implemented most of the things as a JSON file. It's a better way to move regular expression defined in isPhoneNumber to a JSON file!

Jithinqw commented 5 years ago

Moving to RegEx is a good thing, because this has more performance in JSPerf. We will move to RegEx on next release.