regex-0.6.0.0: Toolkit for regex-base

Safe HaskellNone
LanguageHaskell2010

Text.RE.TDFA.Sequence

Contents

Synopsis

Tutorial

We have a regex tutorial at http://tutorial.regex.uk. These API docs are mainly for reference.

The Match Operators

(*=~) :: Seq Char -> RE -> Matches (Seq Char) Source

find all matches in text

(?=~) :: Seq Char -> RE -> Match (Seq Char) Source

find first match in text

(=~) :: (Typeable a, RegexContext Regex (Seq Char) a, RegexMaker Regex CompOption ExecOption String) => Seq Char -> RE -> a Source

the regex-base polymorphic match operator

(=~~) :: (Monad m, Functor m, Typeable a, RegexContext Regex (Seq Char) a, RegexMaker Regex CompOption ExecOption String) => Seq Char -> RE -> m a Source

the regex-base monadic, polymorphic match operator

The Toolkit

Beyond the above match operators and the regular expression type below, Text.RE contains the toolkit for replacing captures, specifying options, etc.

module Text.RE

The RE Type

Text.RE.TDFA.RE contains the toolkit specific to the RE type, the type generated by the gegex compiler.