regexchar-0.9.0.13: A POSIX, extended regex-engine.

Safe HaskellNone
LanguageHaskell2010

RegExChar.ExtendedRegExChar

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
An ExtendedRegEx, which has been specialised for Char, to create a tradition non-polymorphic regex.

Synopsis

Types

Type-synonyms

data ExtendedRegExChar Source

Specialise a ExtendedRegEx for Char, & encapsulate it to permit tailored instance-declarations.

Constructors

MkExtendedRegExChar 

Fields

hasNonCapturingTopLevelAlternatives :: Bool

The string from which a ExtendedRegEx is read, may, if data-capture isn't required, omit explicit delimiters around top-level Alternatives.

extendedRegEx :: ExtendedRegEx Char
 

type InputData = InputData Char Source

Abbreviation.

Functions

Operators

(+~) infix 4 Source

Arguments

:: InputData

The input-data string.

-> RegExOpts ExtendedRegExChar

The match-options, parameterised by the regex-specification.

-> Result Char 

A veneer over the underlying polymorphic operator, +~.

(=~) infix 4 Source

Arguments

:: InputData

The input-data string.

-> RegExOpts ExtendedRegExChar

The match-options, parameterised by the regex-specification.

-> Bool 

A veneer over the underlying polymorphic operator, =~.

(/~) infix 4 Source

Arguments

:: InputData

The input-data string.

-> RegExOpts ExtendedRegExChar

The match-options, parameterised by the regex-specification.

-> Bool 

Pattern-mismatch operator.