yi-language-0.1.0.6: Collection of language-related Yi libraries.

Safe HaskellNone
LanguageHaskell2010

Yi.Regex

Synopsis

Documentation

data SearchOption Source

Constructors

IgnoreCase

Compile for matching that ignores char case

NoNewLine

Compile for newline-insensitive matching

QuoteRegex

Treat the input not as a regex but as a literal string to search for.

emptyRegex :: Regex Source

The regular expression that matches nothing.

regexEscapeString :: String -> String Source

Return an escaped (for parseRegex use) version of the string.