Skip to content

Add Vietnamese locale to isAlpha and isAlphaNumeric function#1189

Closed
nguyenngo99 wants to merge 3 commits intovalidatorjs:masterfrom
nguyenngo99:master
Closed

Add Vietnamese locale to isAlpha and isAlphaNumeric function#1189
nguyenngo99 wants to merge 3 commits intovalidatorjs:masterfrom
nguyenngo99:master

Conversation

@nguyenngo99
Copy link
Copy Markdown

Add Vietnamese locale to isAlpha and isAlphaNumeric function and test

Copy link
Copy Markdown
Member

@tux-tn tux-tn left a comment

Choose a reason for hiding this comment

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

Great job, you may also need to add the new locale to README.md docs file

@nguyenngo99
Copy link
Copy Markdown
Author

Okey, I updated

Copy link
Copy Markdown
Member

@profnandaa profnandaa left a comment

Choose a reason for hiding this comment

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

Can you add the regex for that or alias?

@nguyenngo99
Copy link
Copy Markdown
Author

Can you add the regex for that or alias?

I'm newbie so I'm don't understand what is alias. Could you explain it?

@profnandaa
Copy link
Copy Markdown
Member

Can you add the regex for that or alias?

I'm newbie so I'm don't understand what is alias. Could you explain it?

@damdauvaotran -- my bad, forget what I said. I think I'd confused your changes with something else. Please see my new comments.

And sorry for my delay on getting to this :(

Copy link
Copy Markdown
Member

@profnandaa profnandaa left a comment

Choose a reason for hiding this comment

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

Other than that, everything else looks good to me. Just make the change, fix the m/c and we should be good to go.

Thanks for your contrib! 🎉

'en-ZA': /^(\+?27|0)\d{9}$/,
'en-ZM': /^(\+?26)?09[567]\d{7}$/,
'es-CL': /^(\+?56|0)[2-9]\d{1}\d{7}$/,
'es-EC': /^(\+?593|0)[2-7,9]\d{7,8}$/,
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.

Was this part of this PR too? If so, add some tests too.

@profnandaa profnandaa added the 🧹 needs-update For PRs that need to be updated before landing label Mar 22, 2020
@profnandaa
Copy link
Copy Markdown
Member

ping @damdauvaotran

@profnandaa profnandaa added the ☹ abandoned PR that is unattended by the author for at least 3 months. label Jun 13, 2020
@rubiin
Copy link
Copy Markdown
Member

rubiin commented Jul 2, 2020

@profnandaa this can be closed

@profnandaa profnandaa closed this Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☹ abandoned PR that is unattended by the author for at least 3 months. 🧹 needs-update For PRs that need to be updated before landing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants