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

Safe HaskellSafe
LanguageHaskell2010

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 :: Char Source

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

tokens :: String Source

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

Functions

Predicates

containsMatch Source

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.