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

Safe HaskellSafe-Infered

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 -> BoolSource

True if the InputData matched the ExtendedRegEx.

Query

countMatches :: Result a -> IntSource

Counts the number of top-level Matches.