You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug isMobilePhone with locale es-CU matches any string that start with a 5 followed by at least 7 digits. This is because that locale's regex is missing the end of line matcher
Describe the bug
isMobilePhone
with locale es-CU matches any string that start with a 5 followed by at least 7 digits. This is because that locale's regex is missing the end of line matcherExamples
Repl.it demo: https://replit.com/join/vcsakenqug-klaframboise1
Additional context
Validator.js version: 13.9.0
Node.js version: 18.12.1
OS platform: linux + macOS
The text was updated successfully, but these errors were encountered: