Regex package:yi-language

The TDFA backend specific Regex type, used by this module's RegexOptions and RegexMaker.
RegexLike is parametrized on a regular expression type and a source type to run the matching on. There are default implementations: matchTest and matchOnceText use matchOnce; matchCount and matchAllText use matchAll. Conversely, matchOnce uses matchOnceText and matchAll uses matchAllText. So a minimal complete instance need to provide at least (matchOnce or matchOnceText) and (matchAll or matchAllText). Additional definitions are often provided where they will increase efficiency.
[ c | let notVowel = makeRegex "[^aeiou]" :: Regex, c <- ['a'..'z'], matchTest notVowel [c]  ]

"bcdfghjklmnpqrstvwxyz"
The strictness of these functions is instance dependent.
Return an escaped (for parseRegex use) version of the string.
regular expressions
Treat the input not as a regex but as a literal string to search for.
The regular expression that matches nothing.
Specify your own options, reporting errors with fail