Skip to content
Snippets Groups Projects
Commit 5d56d973 authored by Sebastian Rosauer's avatar Sebastian Rosauer
Browse files

added escape character in regex

parent 73e19b44
No related branches found
No related tags found
1 merge request!4Deploy Develop
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
......@@ -78,7 +78,7 @@ export default {
nickname: "",
nicknameRules: [
v => !!v || "Nickname benötigt",
v => (!!v && /^[0-9a-zA-Z_- ]+$/.test(v)) || "Dateiname ungültig"
v => (!!v && /^[0-9a-zA-Z_\- ]+$/.test(v)) || "Dateiname ungültig"
],
email: "",
emailRules: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment