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).