Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Norwegian locales to alpha and fix Danish locale. #695

Merged
merged 2 commits into from
Aug 22, 2017
Merged

Add Norwegian locales to alpha and fix Danish locale. #695

merged 2 commits into from
Aug 22, 2017

Conversation

mika-s
Copy link
Contributor

@mika-s mika-s commented Aug 17, 2017

Adding Norwegian locales to IsAlpha() and IsAlphanumeric(). The two Norwegian locales have the same letters.

The regex for Danish in IsAlphanumeric() had a small bug that was fixed.

Added Norwegian locale to isAlpha() and isAlphanumeric(). Updated readme
and added tests.
Had to add a + in the regex. Added tests for isAlpha() and
isAlphanumeric().
@chriso
Copy link
Collaborator

chriso commented Aug 22, 2017

Thanks!

@chriso chriso merged commit 4f76138 into validatorjs:master Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants