localregex library
Classes
- LocalRegex
- LocalRegex
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.
- LocalSchools
Extensions
- RegexExtensionForID on String
- RegexExtensionForID
- RegexExtensionForNumbers on String
- RegexExtensionForNumbers
- RegexExtensionForStrings on String
- RegexExtensionForStrings
- StudentIDRegexExtension on LocalSchools
- RegexExtensionForLocalSchools
Functions
-
countryCodeFormat(
String number) → String - countryCodeFormat
-
countryCodePlusFormat(
String number) → String - countryCodePlusFormat
-
isValid(
String value, RegExp source) → bool - isValid
-
regularFormat(
String number) → String - regularFormat
Exceptions / Errors
- LocalRegexException
- LocalRegexException