Permalink
Browse files

Properly handle validation of Gang Tags

Fixes #439
  • Loading branch information...
George
George committed Jan 11, 2017
1 parent 038bccf commit 856c1aebecb3d4ee9350419e725a2929ec79f7e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/features/gangs/gang_commands.js
@@ -33,7 +33,7 @@ const TAG_QUESTION = {
question: 'Choose your gang\'s tag',
message: 'What should we use as the gang\'s tag (without brackets)?',
constraints: {
validation: /^[a-zA-Z0-9,\.\-_]{1,5}/,
validation: /^[a-zA-Z0-9,\.\-_]{1,5}$/,
explanation: 'The tag of your gang must be between 1 and 5 characters long (without the ' +
'brackets) and be a valid username.',

0 comments on commit 856c1ae

Please sign in to comment.