telephone_check 0.1.3
telephone_check: ^0.1.3 copied to clipboard
This package will help you to validate if a telephone number is well written.
Changelog #
0.1.3 - 2024-06-06 #
- new doc.
0.1.2 - 2024-06-06 #
- added repo.
0.1.0 - 2024-06-06 #
Code Improvements #
- Improved phone number validation pattern to allow more specific formats, including:
- An optional country code with up to 3 digits.
- An optional number in parentheses with up to 4 digits.
- Groups of numbers separated by spaces, dots, or dashes.
- Simplified code:
- Removed the unnecessary use of
new. - Directly returns
trueorfalsebased on the match.
- Removed the unnecessary use of