| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Darcs.Util.Regex
Description
This module is a subset of the defunct regex-compat-tdfa.
Documentation
Instances
| RegexOptions Regex CompOption ExecOption | |
Defined in Text.Regex.TDFA.Common Methods blankCompOpt :: CompOption blankExecOpt :: ExecOption defaultCompOpt :: CompOption defaultExecOpt :: ExecOption setExecOpts :: ExecOption -> Regex -> Regex getExecOpts :: Regex -> ExecOption | |
mkRegex :: String -> Regex Source #
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).
Arguments
| :: String | The regular expression to compile |
| -> Bool |
|
| -> Bool |
|
| -> Regex | Returns: the compiled regular expression |
Makes a regular expression, where the multi-line and case-sensitive options can be changed from the default settings.