regex-do-1.4: PCRE wrapper

Safe HaskellNone
LanguageHaskell2010

Text.Regex.Do.TypeDo

Synopsis

Documentation

data ReplaceAcc a Source

Constructors

ReplaceAcc 

Fields

acc :: a

Body with some replacements made

pos_adj :: Int

position adjustment: group replacement length may differ from replaced text length

data Pattern n Source

Needle

Constructors

Pattern n 

data Body h Source

Haystack

Constructors

Body h 

Instances

data Replacement r Source

Constructors

Replacement r 

type PosLen = (MatchOffset, MatchLength) Source

Offset, Length

data ReplaceCase Source

Constructors

Once

may be omitted

All

if both Once and All are passed, All prevails

Utf8 
Multiline 

Instances