regexdot-0.10.2.1: A /polymorphic/, POSIX, extended regular-expression engine.

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.