regex-do-1.4: PCRE wrapper

Safe HaskellNone
LanguageHaskell2010

Text.Regex.Do.Pcre.Result

Synopsis

Documentation

poslen :: Functor f => f MatchArray -> f [PosLen] Source

match offset, length

allMatches :: (Functor f, Extract a) => Body a -> f MatchArray -> f [a] Source

all groups

groupMatch :: Extract a => Body a -> MatchArray -> [a] Source

matches for one group

extract :: Extract source => (Int, Int) -> source -> source

extract takes an offset and length and has a default implementation of extract (off,len) source = before len (after off source)