regexdot-0.12.0.1: A polymorphic, POSIX, extended regex-engine.

Safe HaskellNone
LanguageHaskell2010

RegExDot.Result

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Tools to manipulate a Result.
CAVEAT
The data-definition remains in RegEx, since it references Match.

Synopsis

Functions

Accessors

getMatchList :: Result a -> Maybe (MatchList a) Source #

Accessor.

Predicates

isMatch :: Result a -> Bool Source #

True if the InputData matched the ExtendedRegEx.

Query

countMatches :: Result a -> Int Source #

Counts the number of top-level Matches.