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

Safe HaskellSafe-Infered

RegExDot.RegExOpts

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Provides a complete job-specification.
  • regEx is polymorphic, allowing use of either RegExDot.RegEx.ExtendedRegEx (which is also polymorphic) or RegExChar.ExtendedRegExChar.ExtendedRegExChar.

Synopsis

Types

Data-types

data RegExOpts a Source

Aggregates both ExecutionOptions & CompilationOptions with a polymorphic regex, to form a complete job-description.

Constructors

MkRegExOpts 

Fields

compilationOptions :: CompilationOptions

Parameters governing the result, rather than the implementation.

executionOptions :: ExecutionOptions

Parameters governing the implementation, rather than the result.

regEx :: a

Polymorphic, to permit specialisation either of the type of regex or the type of input-data.

Instances

Functions

setVerbose :: Bool -> RegExOpts a -> RegExOpts aSource

Mutator, which sets an appropriate ExecutionOptions, for the depth to which the caller wants to probe the resulting match.

Constructors

mkRegEx :: a -> RegExOpts aSource

Smart constructor using defaultValue.