yi-0.7.1: The Haskell-Scriptable Editor

Safe HaskellNone

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.

data SearchExp Source

Constructors

SearchExp 

Fields

seInput :: String
 
seCompiled :: Regex
 
seBackCompiled :: Regex
 
seOptions :: [SearchOption]
 

Instances

emptyRegex :: RegexSource

The regular expression that matches nothing.

regexEscapeString :: String -> StringSource

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