We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df4acb commit ccde29dCopy full SHA for ccde29d
formats.js
@@ -28,7 +28,7 @@ exports['hostname'] = function (input) {
28
}
29
exports['alpha'] = /^[a-zA-Z]+$/
30
exports['alphanumeric'] = /^[a-zA-Z0-9]+$/
31
-exports['style'] = /\s*(.+?):\s*([^;]+);?/g
+exports['style'] = /.:\s*[^;]/g
32
exports['phone'] = function (input) {
33
if (!(rePhoneFirstPass.test(input))) return false
34
if (rePhoneDoubleSpace.test(input)) return false
0 commit comments