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

Safe HaskellSafe-Inferred

RegExDot.BracketExpression

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION

This concept was traditionally known as a Character-class, but to distinguish it from the more recently introduced & narrower POSIX Character-class, it has been renamed Bracket-expression.

Synopsis

Types

Type-synonyms

type BracketExpression m = [Member m]Source

A Bracket-expression consists of a list of Members.

Constants

delimiterTokens :: (Char, Char)Source

The delimiters of a bracket-expression, when in String-form.

negationToken :: CharSource

Used to denote a negated bracket-expression, when in String-form.

tokens :: StringSource

The set of Char to which a specific meaning is attributed, when reading from String.

Functions

Predicates

containsMatchSource

Arguments

:: Eq m 
=> m

The input datum.

-> BracketExpression m

The list of bracket-expression members within which to find a match.

-> Bool 

True if the specified datum matches any Member of the BracketExpression.