Text.Regex.TDFA.NewDFA.Engine

regex-tdfa-1.2.1: Replaces/Enhances Text.Regex

Safe Haskell | None
Language | Haskell98

Text.Regex.TDFA.NewDFA.Engine

Description

This is the code for the main engine. This captures the posix subexpressions. This `execMatch` also dispatches to Engine_NC, Engine_FA, and Engine_FC_NA

It is polymorphic over the internal Uncons type class, and specialized to produce the needed variants.

# Documentation

execMatch :: Uncons text => Regex -> Position -> Char -> text -> [MatchArray]