|
|
|
|
|
Description |
Common supports the Lazy Parsec backend. It defines all the data
types except Pattern and exports everything but the contructors of
Pattern.
|
|
Synopsis |
|
|
|
Documentation |
|
data CompOption |
RegexOption control whether the pattern is multiline or
case-sensitive like Text.Regex and whether to capture the subgroups
(1, 2, etc).
| Constructors | | Instances | |
|
|
data ExecOption |
Constructors | | Instances | |
|
|
type MatchedStrings = IntMap (String, (Int, Int)) |
MatchedStrings is an IntMap where the keys are PatternIndex
numbers and the values are completed substring captures.
This has now been augmented to also remember the offset and length
of the matched string.
|
|
type BoolMultiline = Bool |
|
type BoolCaseSensitive = Bool |
|
type StringInput = String |
|
type StringBeforeMatch = String |
|
type StringOfMatch = String |
|
type StringAfterMatch = String |
|
type StringSubgroups = String |
|
type StringSubPattern = String |
|
type AboutMatch = (StringBeforeMatch, StringOfMatch, StringAfterMatch, [StringSubgroups]) |
|
Produced by Haddock version 0.8 |