Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines those options relating to the RegExDot.RegEx-runtime.
- These tend to be options which don't affect the result, only the means by which it is achieved.
- Whilst similar structures are present in other regex-implementations, there's no standardisation of the fields.
Synopsis
- data ExecutionOptions = MkExecutionOptions {
- abortTrialRepetitionsOnInherentFailure :: Bool
- abortTrialRepetitionsOnZeroConsumption :: Bool
- bypassInputDataForLiberalConsumer :: Bool
- catchIncompatibleAnchors :: Bool
- checkExistenceOfInelasticTail :: Bool
- checkForUnconsumableData :: Bool
- moderateGreed :: Bool
- permitReorderingOfAlternatives :: Bool
- preferAlternativesWhichFeedTheGreedy :: Bool
- preferAlternativesWhichMimickUnrolling :: Bool
- preferFewerRepeatedAlternatives :: Bool
- requireMatchList :: Bool
- unrollRepeatedSingletonAlternative :: Bool
- useFirstMatchAmongAlternatives :: Bool
- validateMinConsumptionOfAlternatives :: Bool
- setVerbose :: Bool -> ExecutionOptions -> ExecutionOptions
Types
Data-types
data ExecutionOptions Source #
The switches used to control execution of the regex-engine.
MkExecutionOptions | |
|
Instances
Eq ExecutionOptions Source # | |
Defined in RegExDot.ExecutionOptions (==) :: ExecutionOptions -> ExecutionOptions -> Bool # (/=) :: ExecutionOptions -> ExecutionOptions -> Bool # | |
Show ExecutionOptions Source # | |
Defined in RegExDot.ExecutionOptions showsPrec :: Int -> ExecutionOptions -> ShowS # show :: ExecutionOptions -> String # showList :: [ExecutionOptions] -> ShowS # | |
Default ExecutionOptions Source # | |
Defined in RegExDot.ExecutionOptions def :: ExecutionOptions # | |
Options ExecutionOptions Source # | |
Defined in RegExDot.ExecutionOptions |
Functions
Mutators
setVerbose :: Bool -> ExecutionOptions -> ExecutionOptions Source #
Sets those fields which depend crucially on whether the caller wants to retrieve any RegExDot.RegEx.MatchList from the RegExDot.RegEx.Result, or just query whether there is one.