mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add \r to js regexp
This commit is contained in:
parent
b9854f494c
commit
5afe8fe741
@ -114,7 +114,7 @@ export const loadAllRules = (i18nCallback) => {
|
|||||||
|
|
||||||
extend('atLeastOneSpecialCharater', {
|
extend('atLeastOneSpecialCharater', {
|
||||||
validate(value) {
|
validate(value) {
|
||||||
return !!value.match(/[^a-zA-Z0-9 \t\n]/)
|
return !!value.match(/[^a-zA-Z0-9 \t\n\r]/)
|
||||||
},
|
},
|
||||||
message: (_, values) => i18nCallback.t('site.signup.special-char', values),
|
message: (_, values) => i18nCallback.t('site.signup.special-char', values),
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user