-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix: Russian passport number regex #1810
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1810 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 102 102
Lines 2029 2029
Branches 457 457
=========================================
Hits 2029 2029
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ! Thank you for your PR @Theta-Dev 🎉
I was going to answer you concerning the white spaces. It looks like you figured out that the validator itself is stripping white-spaces before passing the string to regex and changed your regex 😃
* fix: Russian passport number regex fixes validatorjs#1807
* fix: Russian passport number regex fixes #1807
* fix: Russian passport number regex fixes #1807
fix #1807
updated RU passport number regex to accept 9 digit numbers.