Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Match a b out where Source
match
covers all result types
compiler looks up the appropriate function depending on the result type
=~
is borrowed from Text.Regex.PCRE.Wrap,
is a short version of match
See also Text.Regex.Do.Pcre.MatchSame
Rx_ a b => Match a b Bool Source | test
True |
Rx_ a b => Match a b [[PosLen]] Source | match all |
Rx_ a b => Match a b [PosLen] Source | match once
[(13,2)] Utf8 |
Rx_ a b => Match a b [[b]] Source | match all
[["well"],["well"]] |
Rx_ a b => Match a b [b] Source | match once
["all"] |
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)
extract
is reexport from Text.Regex.Base.RegexLike