| ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Description | ||||||||||||||||||||||||||||||
The Text.Regex.Lib.WrapDFAEngine provides the backend for Text.Regex.DFA. This provides the Regex type and RegexOptions instance for them, and RegexMaker instances for String and ByteString. Details on the DFA engine can be found in Text.Regex.DFA and license information in Text.Regex.Lazy.DFAEngine. | ||||||||||||||||||||||||||||||
Synopsis | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Documentation | ||||||||||||||||||||||||||||||
data Regex | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
data CompOption | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
data ExecOption | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
(=~) :: (RegexMaker Regex CompOption ExecOption source, RegexContext Regex source1 target) => source1 -> source -> target | ||||||||||||||||||||||||||||||
This is the pure functional matching operator. If the target cannot be produced then some empty result will be returned. If there is an error in processing, then error will be called. | ||||||||||||||||||||||||||||||
(=~~) :: (RegexMaker Regex CompOption ExecOption source, RegexContext Regex source1 target, Monad m) => source1 -> source -> m target | ||||||||||||||||||||||||||||||
This is the monadic matching operator. If a single match fails, then fail will be called. | ||||||||||||||||||||||||||||||
makeCompat :: CompOption -> Pattern -> Regexp | ||||||||||||||||||||||||||||||
If (dfaClean pat) is True then (makeCompat pat) should not throw an error. This translates a Pattern into a DFA Regex | ||||||||||||||||||||||||||||||
Produced by Haddock version 0.8 |