mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-12 20:15:46 +00:00
Removes upper case from name validation
This commit is contained in:
1 parent
512c20ac9f
commit
77f0979100
1 file changed
+1
-1
+1
-1
@@ -36,7 +36,7 @@ const validateDomainData = validate({
|
||||
R.equals('@'),
|
||||
R.allPass([
|
||||
R.compose(between(2, 100), R.length),
|
||||
str => str && str.match(/^[A-Za-z0-9\-]+$/ig),
|
||||
str => str && str.match(/^[a-z0-9\-]+$/ig),
|
||||
])
|
||||
]),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user