feat(isLicensePlate): added License Plate Regex for en-SG
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
- [x] PR contains only changes related; no stray files, etc.
- [x] README updated (where applicable)
- [x] Tests written (where applicable)
- [x] References provided in PR (where applicable)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.95%. Comparing base (
83d6ffd) to head (b0e8113). Report is 18 commits behind head on master.
:exclamation: Current head b0e8113 differs from pull request most recent head 7ba516f
Please upload reports for the commit 7ba516f to get more accurate results.
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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
thanks for your contrib! 🎉