localregex library Null safety

Classes

LocalRegex
LocalRegex

Extensions

RegexExtensionForID
RegexExtensionForID
RegexExtensionForNumbers
RegexExtensionForNumbers
RegexExtensionForStrings
RegexExtensionForStrings

Functions

countryCodeFormat(String number) String
countryCodeFormat
countryCodePlusFormat(String number) String
countryCodePlusFormat
isValid(String value, RegExp source) bool
isValid
regularFormat(String number) String
regularFormat

Enums

FormatType
Enum class for format type. This is meant to allow devs to pick the phone number format that they want and is specific to their needs.
IdFormatType
Enum class for ID format type. This is meant to allow devs to pick the ID number format that they want and is specific to their needs.

Exceptions / Errors

LocalRegexException
LocalRegexException