regex-do-2.4: PCRE wrapper

Safe HaskellSafe
LanguageHaskell2010

Text.Regex.Do.Type.Do

Synopsis

Documentation

data ReplaceAcc b Source

Constructors

ReplaceAcc 

Fields

acc :: b

content with some replacements made

pos_adj :: Int

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

data Pattern a Source

Needle

Constructors

Pattern a 

data Body b Source

Haystack

Constructors

Body b 

Instances

type PosLen = (MatchOffset, MatchLength) Source

Offset, Length