-
-
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
feat(isLicensePlate): added License Plate Regex for en-SG #2333
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2333 +/- ##
===========================================
- Coverage 100.00% 99.95% -0.05%
===========================================
Files 108 107 -1
Lines 2482 2450 -32
Branches 627 619 -8
===========================================
- Hits 2482 2449 -33
- Partials 0 1 +1 ☔ View full report in Codecov by Sentry. |
thanks for your contrib! 🎉 |
Added validation for Singapore license plates.
The below are some valid Singapore license plates. Singapore license plates follow a format of three letters, four numbers, and a letter.
SGX 1234 A
SMD1234Z
Refrences:
Wikipedia/Vehicle_registration_plates_of_Singapore
Checklist