Safe Haskell  None 

Language  Haskell2010 
 data Matches a = Matches {
 matchesSource :: !a
 allMatches :: ![Match a]
 anyMatches :: Matches a > Bool
 countMatches :: Matches a > Int
 matches :: Matches a > [a]
 mainCaptures :: Matches a > [Capture a]
Documentation
the result type to use when every match is needed, not just the first match of the RE against the source
Matches  

Functor Matches Source #  
(RegexContext regex source [MatchText source], RegexLike regex source) => RegexContext regex source (Matches source) Source #  this instance hooks 
Eq a => Eq (Matches a) Source #  
Show a => Show (Matches a) Source #  
anyMatches :: Matches a > Bool Source #
tests whether the RE matched the source text at all
countMatches :: Matches a > Int Source #
count the matches
mainCaptures :: Matches a > [Capture a] Source #
extract the main capture from each match