yi-0.6.2.4: The Haskell-Scriptable Editor

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.

Instances

emptyRegex :: RegexSource

The regular expression that matches nothing.

regexEscapeString :: String -> StringSource

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