Regex package:regex-compat

Regular expression matching. Uses the POSIX regular expression interface in Text.Regex.Posix.
A compiled regular expression.
Replaces/enhances "Text.Regex" One module compat layer over regex-posix to replace Text.Regex. See also https://wiki.haskell.org/Regular_expressions for more information.
Match a regular expression against a string.
Match a regular expression against a string, returning more information about the match.
Makes a regular expression with the default options (multi-line, case-sensitive). The syntax of regular expressions is otherwise that of egrep (i.e. POSIX "extended" regular expressions).
Makes a regular expression, where the multi-line and case-sensitive options can be changed from the default settings.
Splits a string based on a regular expression. The regular expression should identify one delimiter. This does not advance and produces an infinite list of [] if the regex matches an empty string. This misfeature is here to match the behavior of the original Text.Regex API.
Replaces every occurrence of the given regexp with the replacement string. In the replacement string, "\1" refers to the first substring; "\2" to the second, etc; and "\0" to the entire match. "\\\\" will insert a literal backslash. This does not advance if the regex matches an empty string. This misfeature is here to match the behavior of the original Text.Regex API.