Skip to content

Allow for dashes in validator names#5

Open
peyerluk wants to merge 1 commit into
masterfrom
validator-names
Open

Allow for dashes in validator names#5
peyerluk wants to merge 1 commit into
masterfrom
validator-names

Conversation

@peyerluk
Copy link
Copy Markdown
Member

Fixes #4

@peyerluk
Copy link
Copy Markdown
Member Author

@marcbachmann ready for review

@peyerluk peyerluk self-assigned this Feb 11, 2015
@peyerluk peyerluk added the bug label Feb 11, 2015
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hehe. that works for everything...
except for validator names that consist of a single char ;)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unicode validator names are working 😄
'😄,foobar'.match(/[^, ][^,]*[^, ]/g)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validators can't contain dashes

2 participants