Constructor.
Character set. Each element is a single-character string, unique within the array, that defines the character set.
Rest
...exclusionSupport: readonly Exclusion[]Exclusions supported by the character set. All character sets implicitly support Exclusion.None.
Get the character set.
Get the character set size.
Protected
validateValidate that an exclusion is supported. If not, an exception is thrown.
Exclusion.
Validate a string. If the string violates the character set or any of the character set validation parameters, an exception is thrown.
String.
Optional
validation: CharacterSetValidationCharacter set validation parameters.
Character set validator. Validates a string against a specified character set.