Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
alex :: IsRegex re s => [(re, Match s -> Maybe t)] -> t -> s -> [t] Source #
a simple regex-based scanner interpretter for prototyping scanners
alex' :: Replace s => (re -> s -> Match s) -> [(re, Match s -> Maybe t)] -> t -> s -> [t] Source #
a higher order version of alex
parameterised over the matchOnce
function
IsRegex
Text.RE
module Text.RE