Regexes allow character classes to be specified such as [A-Za-z_=], while the Range type only allows a single range to be specified. Maybe we could create a CharacterClass which would allow specification of multiple ranges or single characters to include or exclude? For example:
Regexes allow character classes to be specified such as
[A-Za-z_=]
, while theRange
type only allows a single range to be specified. Maybe we could create aCharacterClass
which would allow specification of multiple ranges or single characters to include or exclude? For example:CharacterClass[('A', 'Z') :+: ('a', 'z') :+: '_' :+: '=']