regexdot-0.11.1.2: 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 (Deconstructors)

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.