Regex package:text-icu

A compiled regular expression. Regex values are usually constructed using the regex or regex' functions. This type is also an instance of IsString, so if you have the OverloadedStrings language extension enabled, you can construct a Regex by simply writing the pattern in quotes (though this does not allow you to specify any Options).
Regular expression support for Unicode, implemented as bindings to the International Components for Unicode (ICU) libraries. The syntax and behaviour of ICU regular expressions are Perl-like. For complete details, see the ICU User Guide entry at http://userguide.icu-project.org/strings/regexp. Note: The functions in this module are not thread safe. For thread safe use, see clone below, or use the pure functions in Data.Text.ICU.
A compiled regular expression. Regex values are usually constructed using the regex or regex' functions. This type is also an instance of IsString, so if you have the OverloadedStrings language extension enabled, you can construct a Regex by simply writing the pattern in quotes (though this does not allow you to specify any Options).
Compile a regular expression with the given options. This function throws a ParseError if the pattern is invalid, so it is best for use when the pattern is statically known.
Compile a regular expression with the given options. This function throws a ParseError if the pattern is invalid. The Regex is initialized with empty text to search against.
Compile a regular expression with the given options. This is safest to use when the pattern is constructed at run time.
Compile a regular expression with the given options. This is safest to use when the pattern is constructed at run time.