/usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html is in libghc-regex-tdfa-doc 1.1.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.Regex.TDFA.Common</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-Regex-TDFA-Common.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Regex-TDFA-Common.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">regex-tdfa-1.1.8: Replaces/Enhances Text.Regex</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Text.Regex.TDFA.Common</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Common provides simple functions to the backend. It defines most
of the data types. All modules should call error via the
common_error function below.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:look">look</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> a -> a</li><li class="src short"><a href="#v:common_error">common_error</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> a</li><li class="src short"><a href="#v:on">on</a> :: (t1 -> t1 -> t2) -> (t -> t1) -> t -> t -> t2</li><li class="src short"><a href="#v:norep">norep</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> a => [a] -> [a]</li><li class="src short"><a href="#v:norepBy">norepBy</a> :: (a -> a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a>) -> [a] -> [a]</li><li class="src short"><a href="#v:mapFst">mapFst</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> f => (t -> t2) -> f (t, t1) -> f (t2, t1)</li><li class="src short"><a href="#v:mapSnd">mapSnd</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> f => (t1 -> t2) -> f (t, t1) -> f (t, t2)</li><li class="src short"><a href="#v:fst3">fst3</a> :: (a, b, c) -> a</li><li class="src short"><a href="#v:snd3">snd3</a> :: (a, b, c) -> b</li><li class="src short"><a href="#v:thd3">thd3</a> :: (a, b, c) -> c</li><li class="src short"><a href="#v:flipOrder">flipOrder</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ordering">Ordering</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ordering">Ordering</a></li><li class="src short"><a href="#v:noWin">noWin</a> :: <a href="Text-Regex-TDFA-Common.html#t:WinTags">WinTags</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:DoPa">DoPa</a> = <a href="#v:DoPa">DoPa</a> {<ul class="subs"><li><a href="#v:dopaIndex">dopaIndex</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:CompOption">CompOption</a> = <a href="#v:CompOption">CompOption</a> {<ul class="subs"><li><a href="#v:caseSensitive">caseSensitive</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:multiline">multiline</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:rightAssoc">rightAssoc</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:newSyntax">newSyntax</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:lastStarGreedy">lastStarGreedy</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:ExecOption">ExecOption</a> = <a href="#v:ExecOption">ExecOption</a> {<ul class="subs"><li><a href="#v:captureGroups">captureGroups</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><span class="keyword">type</span> <a href="#t:Tag">Tag</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:OP">OP</a> <ul class="subs"><li>= <a href="#v:Maximize">Maximize</a> </li><li>| <a href="#v:Minimize">Minimize</a> </li><li>| <a href="#v:Orbit">Orbit</a> </li><li>| <a href="#v:Ignore">Ignore</a> </li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:Index">Index</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:SetIndex">SetIndex</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntSet.html#t:IntSet">IntSet</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Position">Position</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:GroupIndex">GroupIndex</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:GroupInfo">GroupInfo</a> = <a href="#v:GroupInfo">GroupInfo</a> {<ul class="subs"><li><a href="#v:thisIndex">thisIndex</a> :: <a href="Text-Regex-TDFA-Common.html#t:GroupIndex">GroupIndex</a></li><li><a href="#v:parentIndex">parentIndex</a> :: <a href="Text-Regex-TDFA-Common.html#t:GroupIndex">GroupIndex</a></li><li><a href="#v:startTag">startTag</a> :: <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a></li><li><a href="#v:stopTag">stopTag</a> :: <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a></li><li><a href="#v:flagTag">flagTag</a> :: <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Regex">Regex</a> = <a href="#v:Regex">Regex</a> {<ul class="subs"><li><a href="#v:regex_dfa">regex_dfa</a> :: <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></li><li><a href="#v:regex_init">regex_init</a> :: <a href="Text-Regex-TDFA-Common.html#t:Index">Index</a></li><li><a href="#v:regex_b_index">regex_b_index</a> :: (<a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>, <a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>)</li><li><a href="#v:regex_b_tags">regex_b_tags</a> :: (<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>)</li><li><a href="#v:regex_trie">regex_trie</a> :: <a href="Text-Regex-TDFA-IntArrTrieSet.html#t:TrieSet">TrieSet</a> <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></li><li><a href="#v:regex_tags">regex_tags</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/array-0.4.0.0/Data-Array.html#t:Array">Array</a> <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a> <a href="Text-Regex-TDFA-Common.html#t:OP">OP</a></li><li><a href="#v:regex_groups">regex_groups</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/array-0.4.0.0/Data-Array.html#t:Array">Array</a> <a href="Text-Regex-TDFA-Common.html#t:GroupIndex">GroupIndex</a> [<a href="Text-Regex-TDFA-Common.html#t:GroupInfo">GroupInfo</a>]</li><li><a href="#v:regex_isFrontAnchored">regex_isFrontAnchored</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:regex_compOptions">regex_compOptions</a> :: <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a></li><li><a href="#v:regex_execOptions">regex_execOptions</a> :: <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:WinEmpty">WinEmpty</a> <ul class="subs"><li>= <a href="#v:WinEmpty">WinEmpty</a> <a href="Text-Regex-TDFA-Common.html#t:Instructions">Instructions</a> </li><li>| <a href="#v:WinTest">WinTest</a> <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Regex-TDFA-Common.html#t:WinEmpty">WinEmpty</a>) (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Regex-TDFA-Common.html#t:WinEmpty">WinEmpty</a>) </li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:QNFA">QNFA</a> = <a href="#v:QNFA">QNFA</a> {<ul class="subs"><li><a href="#v:q_id">q_id</a> :: <a href="Text-Regex-TDFA-Common.html#t:Index">Index</a></li><li><a href="#v:q_qt">q_qt</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:QT">QT</a> <ul class="subs"><li>= <a href="#v:Simple">Simple</a> { <ul class="subs"><li><a href="#v:qt_win">qt_win</a> :: <a href="Text-Regex-TDFA-Common.html#t:WinTags">WinTags</a></li><li><a href="#v:qt_trans">qt_trans</a> :: <a href="Data-IntMap-CharMap2.html#t:CharMap">CharMap</a> <a href="Text-Regex-TDFA-Common.html#t:QTrans">QTrans</a></li><li><a href="#v:qt_other">qt_other</a> :: <a href="Text-Regex-TDFA-Common.html#t:QTrans">QTrans</a></li></ul> }</li><li>| <a href="#v:Testing">Testing</a> { <ul class="subs"><li><a href="#v:qt_test">qt_test</a> :: <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></li><li><a href="#v:qt_dopas">qt_dopas</a> :: <a href="Data-IntSet-EnumSet2.html#t:EnumSet">EnumSet</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></li><li><a href="#v:qt_a">qt_a</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></li><li><a href="#v:qt_b">qt_b</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></li></ul> }</li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:QTrans">QTrans</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> [<a href="Text-Regex-TDFA-Common.html#t:TagCommand">TagCommand</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:WhichTest">WhichTest</a> <ul class="subs"><li>= <a href="#v:Test_BOL">Test_BOL</a> </li><li>| <a href="#v:Test_EOL">Test_EOL</a> </li><li>| <a href="#v:Test_BOB">Test_BOB</a> </li><li>| <a href="#v:Test_EOB">Test_EOB</a> </li><li>| <a href="#v:Test_BOW">Test_BOW</a> </li><li>| <a href="#v:Test_EOW">Test_EOW</a> </li><li>| <a href="#v:Test_EdgeWord">Test_EdgeWord</a> </li><li>| <a href="#v:Test_NotEdgeWord">Test_NotEdgeWord</a> </li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:TagTask">TagTask</a> <ul class="subs"><li>= <a href="#v:TagTask">TagTask</a> </li><li>| <a href="#v:ResetGroupStopTask">ResetGroupStopTask</a> </li><li>| <a href="#v:SetGroupStopTask">SetGroupStopTask</a> </li><li>| <a href="#v:ResetOrbitTask">ResetOrbitTask</a> </li><li>| <a href="#v:EnterOrbitTask">EnterOrbitTask</a> </li><li>| <a href="#v:LeaveOrbitTask">LeaveOrbitTask</a> </li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:TagTasks">TagTasks</a> = [(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a>)]</li><li class="src short"><span class="keyword">data</span> <a href="#t:TagUpdate">TagUpdate</a> <ul class="subs"><li>= <a href="#v:PreUpdate">PreUpdate</a> <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a> </li><li>| <a href="#v:PostUpdate">PostUpdate</a> <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a> </li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:TagList">TagList</a> = [(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:TagUpdate">TagUpdate</a>)]</li><li class="src short"><span class="keyword">type</span> <a href="#t:TagCommand">TagCommand</a> = (<a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a>, <a href="Text-Regex-TDFA-Common.html#t:TagList">TagList</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:WinTags">WinTags</a> = <a href="Text-Regex-TDFA-Common.html#t:TagList">TagList</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:DFA">DFA</a> = <a href="#v:DFA">DFA</a> {<ul class="subs"><li><a href="#v:d_id">d_id</a> :: <a href="Text-Regex-TDFA-Common.html#t:SetIndex">SetIndex</a></li><li><a href="#v:d_dt">d_dt</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Transition">Transition</a> = <a href="#v:Transition">Transition</a> {<ul class="subs"><li><a href="#v:trans_many">trans_many</a> :: <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></li><li><a href="#v:trans_single">trans_single</a> :: <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></li><li><a href="#v:trans_how">trans_how</a> :: <a href="Text-Regex-TDFA-Common.html#t:DTrans">DTrans</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:DT">DT</a> <ul class="subs"><li>= <a href="#v:Simple-39-">Simple'</a> { <ul class="subs"><li><a href="#v:dt_win">dt_win</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> <a href="Text-Regex-TDFA-Common.html#t:Instructions">Instructions</a></li><li><a href="#v:dt_trans">dt_trans</a> :: <a href="Data-IntMap-CharMap2.html#t:CharMap">CharMap</a> <a href="Text-Regex-TDFA-Common.html#t:Transition">Transition</a></li><li><a href="#v:dt_other">dt_other</a> :: <a href="Text-Regex-TDFA-Common.html#t:Transition">Transition</a></li></ul> }</li><li>| <a href="#v:Testing-39-">Testing'</a> { <ul class="subs"><li><a href="#v:dt_test">dt_test</a> :: <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></li><li><a href="#v:dt_dopas">dt_dopas</a> :: <a href="Data-IntSet-EnumSet2.html#t:EnumSet">EnumSet</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></li><li><a href="#v:dt_a">dt_a</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a></li><li><a href="#v:dt_b">dt_b</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a></li></ul> }</li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:DTrans">DTrans</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> (<a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a>, <a href="Text-Regex-TDFA-Common.html#t:Instructions">Instructions</a>))</li><li class="src short"><span class="keyword">type</span> <a href="#t:DTrans-39-">DTrans'</a> = [(<a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>, [(<a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>, (<a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a>, ([(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, (<a href="Text-Regex-TDFA-Common.html#t:Position">Position</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a>))], [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>])))])]</li><li class="src short"><span class="keyword">data</span> <a href="#t:Orbits">Orbits</a> = <a href="#v:Orbits">Orbits</a> {<ul class="subs"><li><a href="#v:inOrbit">inOrbit</a> :: !<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:basePos">basePos</a> :: <a href="Text-Regex-TDFA-Common.html#t:Position">Position</a></li><li><a href="#v:ordinal">ordinal</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:getOrbits">getOrbits</a> :: !(<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="Text-Regex-TDFA-Common.html#t:Position">Position</a>)</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Instructions">Instructions</a> = <a href="#v:Instructions">Instructions</a> {<ul class="subs"><li><a href="#v:newPos">newPos</a> :: ![(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:Action">Action</a>)]</li><li><a href="#v:newOrbits">newOrbits</a> :: !(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Text-Regex-TDFA-Common.html#t:Position">Position</a> -> <a href="Text-Regex-TDFA-Common.html#t:OrbitTransformer">OrbitTransformer</a>))</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Action">Action</a> <ul class="subs"><li>= <a href="#v:SetPre">SetPre</a> </li><li>| <a href="#v:SetPost">SetPost</a> </li><li>| <a href="#v:SetVal">SetVal</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> </li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:OrbitTransformer">OrbitTransformer</a> = <a href="Text-Regex-TDFA-Common.html#t:OrbitLog">OrbitLog</a> -> <a href="Text-Regex-TDFA-Common.html#t:OrbitLog">OrbitLog</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:OrbitLog">OrbitLog</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> <a href="Text-Regex-TDFA-Common.html#t:Orbits">Orbits</a></li><li class="src short"><a href="#v:showQT">showQT</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:indent">indent</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:showDT">showDT</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:seeDTrans">seeDTrans</a> :: <a href="Text-Regex-TDFA-Common.html#t:DTrans">DTrans</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:look" class="def">look</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> a -> a<a href="src/Text-Regex-TDFA-Common.html#look" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:common_error" class="def">common_error</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> a<a href="src/Text-Regex-TDFA-Common.html#common_error" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:on" class="def">on</a> :: (t1 -> t1 -> t2) -> (t -> t1) -> t -> t -> t2<a href="src/Text-Regex-TDFA-Common.html#on" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:norep" class="def">norep</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> a => [a] -> [a]<a href="src/Text-Regex-TDFA-Common.html#norep" class="link">Source</a></p><div class="doc"><p>after sort or sortBy the use of nub<em>nubBy can be replaced by norep</em>norepBy
</p></div></div><div class="top"><p class="src"><a name="v:norepBy" class="def">norepBy</a> :: (a -> a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a>) -> [a] -> [a]<a href="src/Text-Regex-TDFA-Common.html#norepBy" class="link">Source</a></p><div class="doc"><p>after sort or sortBy the use of nub<em>nubBy can be replaced by norep</em>norepBy
</p></div></div><div class="top"><p class="src"><a name="v:mapFst" class="def">mapFst</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> f => (t -> t2) -> f (t, t1) -> f (t2, t1)<a href="src/Text-Regex-TDFA-Common.html#mapFst" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mapSnd" class="def">mapSnd</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> f => (t1 -> t2) -> f (t, t1) -> f (t, t2)<a href="src/Text-Regex-TDFA-Common.html#mapSnd" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fst3" class="def">fst3</a> :: (a, b, c) -> a<a href="src/Text-Regex-TDFA-Common.html#fst3" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snd3" class="def">snd3</a> :: (a, b, c) -> b<a href="src/Text-Regex-TDFA-Common.html#snd3" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:thd3" class="def">thd3</a> :: (a, b, c) -> c<a href="src/Text-Regex-TDFA-Common.html#thd3" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:flipOrder" class="def">flipOrder</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ordering">Ordering</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ordering">Ordering</a><a href="src/Text-Regex-TDFA-Common.html#flipOrder" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:noWin" class="def">noWin</a> :: <a href="Text-Regex-TDFA-Common.html#t:WinTags">WinTags</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Text-Regex-TDFA-Common.html#noWin" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:DoPa" class="def">DoPa</a> <a href="src/Text-Regex-TDFA-Common.html#DoPa" class="link">Source</a></p><div class="doc"><p>Used to track elements of the pattern that accept characters or
are anchors
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DoPa" class="def">DoPa</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:dopaIndex" class="def">dopaIndex</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:DoPa" class="caption collapser" onclick="toggleSection('i:DoPa')">Instances</p><div id="section.i:DoPa" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Enum">Enum</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ord">Ord</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:CompOption" class="def">CompOption</a> <a href="src/Text-Regex-TDFA-Common.html#CompOption" class="link">Source</a></p><div class="doc"><p>Control whether the pattern is multiline or case-sensitive like Text.Regex and whether to
capture the subgroups (1, 2, etc). Controls enabling extra anchor syntax.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:CompOption" class="def">CompOption</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:caseSensitive" class="def">caseSensitive</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>True in blankCompOpt and defaultCompOpt
</p></dd><dt class="src"><a name="v:multiline" class="def">multiline</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>False in blankCompOpt, True in defaultCompOpt. Compile for
newline-sensitive matching. <a href="By default, newline is a completely ordinary
character with no special meaning in either REs or strings- With this flag,
inverted bracket expressions and - never match newline, a ^ anchor matches the
null string after any newline in the string in addition to its normal
function, and the $ anchor matches the null string before any newline in the
string in addition to its normal function-.html">By default, newline is a completely ordinary
character with no special meaning in either REs or strings. With this flag,
inverted bracket expressions and . never match newline, a ^ anchor matches the
null string after any newline in the string in addition to its normal
function, and the $ anchor matches the null string before any newline in the
string in addition to its normal function.</a>
</p></dd><dt class="src"><a name="v:rightAssoc" class="def">rightAssoc</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>True (and therefore Right associative) in blankCompOpt and defaultCompOpt
</p></dd><dt class="src"><a name="v:newSyntax" class="def">newSyntax</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>False in blankCompOpt, True in defaultCompOpt. Add the extended non-POSIX syntax described in <a href="Text-Regex-TDFA.html">Text.Regex.TDFA</a> haddock documentation.
</p></dd><dt class="src"><a name="v:lastStarGreedy" class="def">lastStarGreedy</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>False by default. This is POSIX correct but it takes space and is slower.
Setting this to true will improve performance, and should be done
if you plan to set the captureGroups execoption to False.
</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:CompOption" class="caption collapser" onclick="toggleSection('i:CompOption')">Instances</p><div id="section.i:CompOption" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Char.html#t:Char">Char</a>)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ExecOption" class="def">ExecOption</a> <a href="src/Text-Regex-TDFA-Common.html#ExecOption" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ExecOption" class="def">ExecOption</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:captureGroups" class="def">captureGroups</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>True by default. Set to False to improve speed (and space).
</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ExecOption" class="caption collapser" onclick="toggleSection('i:ExecOption')">Instances</p><div id="section.i:ExecOption" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Char.html#t:Char">Char</a>)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Tag" class="def">Tag</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a><a href="src/Text-Regex-TDFA-Common.html#Tag" class="link">Source</a></p><div class="doc"><p>Used by implementation to name certain Postions during
matching. Identity of Position tag to set during a transition
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:OP" class="def">OP</a> <a href="src/Text-Regex-TDFA-Common.html#OP" class="link">Source</a></p><div class="doc"><p>Internal use to indicate type of tag and preference for larger or smaller Positions
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Maximize" class="def">Maximize</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Minimize" class="def">Minimize</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Orbit" class="def">Orbit</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Ignore" class="def">Ignore</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:OP" class="caption collapser" onclick="toggleSection('i:OP')">Instances</p><div id="section.i:OP" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Regex-TDFA-Common.html#t:OP">OP</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:OP">OP</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Index" class="def">Index</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a><a href="src/Text-Regex-TDFA-Common.html#Index" class="link">Source</a></p><div class="doc"><p>Internal NFA node identity number
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:SetIndex" class="def">SetIndex</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntSet.html#t:IntSet">IntSet</a><a href="src/Text-Regex-TDFA-Common.html#SetIndex" class="link">Source</a></p><div class="doc"><p>Internal DFA identity is this Set of NFA Index
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Position" class="def">Position</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a><a href="src/Text-Regex-TDFA-Common.html#Position" class="link">Source</a></p><div class="doc"><p>Index into the text being searched
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:GroupIndex" class="def">GroupIndex</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a><a href="src/Text-Regex-TDFA-Common.html#GroupIndex" class="link">Source</a></p><div class="doc"><p>GroupIndex is for indexing submatches from capturing
parenthesized groups (PGroup/Group)
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:GroupInfo" class="def">GroupInfo</a> <a href="src/Text-Regex-TDFA-Common.html#GroupInfo" class="link">Source</a></p><div class="doc"><p>GroupInfo collects the parent and tag information for an instance
of a group
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GroupInfo" class="def">GroupInfo</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:thisIndex" class="def">thisIndex</a> :: <a href="Text-Regex-TDFA-Common.html#t:GroupIndex">GroupIndex</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:parentIndex" class="def">parentIndex</a> :: <a href="Text-Regex-TDFA-Common.html#t:GroupIndex">GroupIndex</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:startTag" class="def">startTag</a> :: <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:stopTag" class="def">stopTag</a> :: <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:flagTag" class="def">flagTag</a> :: <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:GroupInfo" class="caption collapser" onclick="toggleSection('i:GroupInfo')">Instances</p><div id="section.i:GroupInfo" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:GroupInfo">GroupInfo</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Regex" class="def">Regex</a> <a href="src/Text-Regex-TDFA-Common.html#Regex" class="link">Source</a></p><div class="doc"><p>The TDFA backend specific <code><a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a></code> type, used by this module's RegexOptions and RegexMaker
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Regex" class="def">Regex</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:regex_dfa" class="def">regex_dfa</a> :: <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></dt><dd class="doc"><p>starting DFA state
</p></dd><dt class="src"><a name="v:regex_init" class="def">regex_init</a> :: <a href="Text-Regex-TDFA-Common.html#t:Index">Index</a></dt><dd class="doc"><p>index of starting state
</p></dd><dt class="src"><a name="v:regex_b_index" class="def">regex_b_index</a> :: (<a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>, <a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>)</dt><dd class="doc"><p>indexes of smallest and largest states
</p></dd><dt class="src"><a name="v:regex_b_tags" class="def">regex_b_tags</a> :: (<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>)</dt><dd class="doc"><p>indexes of smallest and largest tags
</p></dd><dt class="src"><a name="v:regex_trie" class="def">regex_trie</a> :: <a href="Text-Regex-TDFA-IntArrTrieSet.html#t:TrieSet">TrieSet</a> <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></dt><dd class="doc"><p>All DFA states
</p></dd><dt class="src"><a name="v:regex_tags" class="def">regex_tags</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/array-0.4.0.0/Data-Array.html#t:Array">Array</a> <a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a> <a href="Text-Regex-TDFA-Common.html#t:OP">OP</a></dt><dd class="doc"><p>information about each tag
</p></dd><dt class="src"><a name="v:regex_groups" class="def">regex_groups</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/array-0.4.0.0/Data-Array.html#t:Array">Array</a> <a href="Text-Regex-TDFA-Common.html#t:GroupIndex">GroupIndex</a> [<a href="Text-Regex-TDFA-Common.html#t:GroupInfo">GroupInfo</a>]</dt><dd class="doc"><p>information about each group
</p></dd><dt class="src"><a name="v:regex_isFrontAnchored" class="def">regex_isFrontAnchored</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc"><p>used for optimizing execution
</p></dd><dt class="src"><a name="v:regex_compOptions" class="def">regex_compOptions</a> :: <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:regex_execOptions" class="def">regex_execOptions</a> :: <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Regex" class="caption collapser" onclick="toggleSection('i:Regex')">Instances</p><div id="section.i:Regex" class="show"><table><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexLike">RegexLike</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexLike">RegexLike</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexLike">RegexLike</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.9.2.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Char.html#t:Char">Char</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexLike">RegexLike</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Char.html#t:Char">Char</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Char.html#t:Char">Char</a>) (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Char.html#t:Char">Char</a>)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:WinEmpty" class="def">WinEmpty</a> <a href="src/Text-Regex-TDFA-Common.html#WinEmpty" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:WinEmpty" class="def">WinEmpty</a> <a href="Text-Regex-TDFA-Common.html#t:Instructions">Instructions</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:WinTest" class="def">WinTest</a> <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Regex-TDFA-Common.html#t:WinEmpty">WinEmpty</a>) (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Text-Regex-TDFA-Common.html#t:WinEmpty">WinEmpty</a>)</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:WinEmpty" class="caption collapser" onclick="toggleSection('i:WinEmpty')">Instances</p><div id="section.i:WinEmpty" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:WinEmpty">WinEmpty</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:QNFA" class="def">QNFA</a> <a href="src/Text-Regex-TDFA-Common.html#QNFA" class="link">Source</a></p><div class="doc"><p>Internal NFA node type
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:QNFA" class="def">QNFA</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:q_id" class="def">q_id</a> :: <a href="Text-Regex-TDFA-Common.html#t:Index">Index</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:q_qt" class="def">q_qt</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:QNFA" class="caption collapser" onclick="toggleSection('i:QNFA')">Instances</p><div id="section.i:QNFA" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:QNFA">QNFA</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:QT" class="def">QT</a> <a href="src/Text-Regex-TDFA-Common.html#QT" class="link">Source</a></p><div class="doc"><p>Internal to QNFA type.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Simple" class="def">Simple</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:qt_win" class="def">qt_win</a> :: <a href="Text-Regex-TDFA-Common.html#t:WinTags">WinTags</a></dt><dd class="doc"><p>empty transitions to the virtual winning state
</p></dd><dt class="src"><a name="v:qt_trans" class="def">qt_trans</a> :: <a href="Data-IntMap-CharMap2.html#t:CharMap">CharMap</a> <a href="Text-Regex-TDFA-Common.html#t:QTrans">QTrans</a></dt><dd class="doc"><p>all ways to leave this QNFA to other or the same QNFA
</p></dd><dt class="src"><a name="v:qt_other" class="def">qt_other</a> :: <a href="Text-Regex-TDFA-Common.html#t:QTrans">QTrans</a></dt><dd class="doc"><p>default ways to leave this QNFA to other or the same QNFA
</p></dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Testing" class="def">Testing</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:qt_test" class="def">qt_test</a> :: <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></dt><dd class="doc"><p>The test to perform
</p></dd><dt class="src"><a name="v:qt_dopas" class="def">qt_dopas</a> :: <a href="Data-IntSet-EnumSet2.html#t:EnumSet">EnumSet</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></dt><dd class="doc"><p>location(s) of the anchor(s) in the original regexp
</p></dd><dt class="src"><a name="v:qt_a" class="def">qt_a</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></dt><dd class="doc"><p>use qt_a if test is True, else use qt_b
</p></dd><dt class="src"><a name="v:qt_b" class="def">qt_b</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></dt><dd class="doc"><p>use qt_a if test is True, else use qt_b
</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:QT" class="caption collapser" onclick="toggleSection('i:QT')">Instances</p><div id="section.i:QT" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:QTrans" class="def">QTrans</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> [<a href="Text-Regex-TDFA-Common.html#t:TagCommand">TagCommand</a>]<a href="src/Text-Regex-TDFA-Common.html#QTrans" class="link">Source</a></p><div class="doc"><p>Internal type to represent the tagged transition from one QNFA to
another (or itself). The key is the Index of the destination QNFA.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:WhichTest" class="def">WhichTest</a> <a href="src/Text-Regex-TDFA-Common.html#WhichTest" class="link">Source</a></p><div class="doc"><p>Known predicates, just Beginning of Line (^) and End of Line ($).
Also support for GNU extensions is being added: ` beginning of
buffer, ' end of buffer, < and > for begin and end of words, b
and B for word boundary and not word boundary.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Test_BOL" class="def">Test_BOL</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Test_EOL" class="def">Test_EOL</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Test_BOB" class="def">Test_BOB</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Test_EOB" class="def">Test_EOB</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Test_BOW" class="def">Test_BOW</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Test_EOW" class="def">Test_EOW</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Test_EdgeWord" class="def">Test_EdgeWord</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Test_NotEdgeWord" class="def">Test_NotEdgeWord</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:WhichTest" class="caption collapser" onclick="toggleSection('i:WhichTest')">Instances</p><div id="section.i:WhichTest" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Enum">Enum</a> <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ord">Ord</a> <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:TagTask" class="def">TagTask</a> <a href="src/Text-Regex-TDFA-Common.html#TagTask" class="link">Source</a></p><div class="doc"><p>The things that can be done with a Tag. TagTask and
ResetGroupStopTask are for tags with Maximize or Minimize OP
values. ResetOrbitTask and EnterOrbitTask and LeaveOrbitTask are
for tags with Orbit OP value.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:TagTask" class="def">TagTask</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ResetGroupStopTask" class="def">ResetGroupStopTask</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:SetGroupStopTask" class="def">SetGroupStopTask</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ResetOrbitTask" class="def">ResetOrbitTask</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:EnterOrbitTask" class="def">EnterOrbitTask</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:LeaveOrbitTask" class="def">LeaveOrbitTask</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:TagTask" class="caption collapser" onclick="toggleSection('i:TagTask')">Instances</p><div id="section.i:TagTask" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:TagTasks" class="def">TagTasks</a> = [(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a>)]<a href="src/Text-Regex-TDFA-Common.html#TagTasks" class="link">Source</a></p><div class="doc"><p>Ordered list of tags and their associated Task
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:TagUpdate" class="def">TagUpdate</a> <a href="src/Text-Regex-TDFA-Common.html#TagUpdate" class="link">Source</a></p><div class="doc"><p>When attached to a QTrans the TagTask can be done before or after
accepting the character.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PreUpdate" class="def">PreUpdate</a> <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:PostUpdate" class="def">PostUpdate</a> <a href="Text-Regex-TDFA-Common.html#t:TagTask">TagTask</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:TagUpdate" class="caption collapser" onclick="toggleSection('i:TagUpdate')">Instances</p><div id="section.i:TagUpdate" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Regex-TDFA-Common.html#t:TagUpdate">TagUpdate</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:TagUpdate">TagUpdate</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:TagList" class="def">TagList</a> = [(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:TagUpdate">TagUpdate</a>)]<a href="src/Text-Regex-TDFA-Common.html#TagList" class="link">Source</a></p><div class="doc"><p>Ordered list of tags and their associated update operation.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:TagCommand" class="def">TagCommand</a> = (<a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a>, <a href="Text-Regex-TDFA-Common.html#t:TagList">TagList</a>)<a href="src/Text-Regex-TDFA-Common.html#TagCommand" class="link">Source</a></p><div class="doc"><p>A TagList and the location of the item in the original pattern
that is being accepted.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:WinTags" class="def">WinTags</a> = <a href="Text-Regex-TDFA-Common.html#t:TagList">TagList</a><a href="src/Text-Regex-TDFA-Common.html#WinTags" class="link">Source</a></p><div class="doc"><p>Ordered list of tags and their associated update operation to
perform on an empty transition to the virtual winning state.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DFA" class="def">DFA</a> <a href="src/Text-Regex-TDFA-Common.html#DFA" class="link">Source</a></p><div class="doc"><p>Internal DFA node, identified by the Set of indices of the QNFA
nodes it represents.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DFA" class="def">DFA</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:d_id" class="def">d_id</a> :: <a href="Text-Regex-TDFA-Common.html#t:SetIndex">SetIndex</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:d_dt" class="def">d_dt</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:DFA" class="caption collapser" onclick="toggleSection('i:DFA')">Instances</p><div id="section.i:DFA" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Transition" class="def">Transition</a> <a href="src/Text-Regex-TDFA-Common.html#Transition" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Transition" class="def">Transition</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:trans_many" class="def">trans_many</a> :: <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></dt><dd class="doc"><p>where to go (maximal), including respawning
</p></dd><dt class="src"><a name="v:trans_single" class="def">trans_single</a> :: <a href="Text-Regex-TDFA-Common.html#t:DFA">DFA</a></dt><dd class="doc"><p>where to go, not including respawning
</p></dd><dt class="src"><a name="v:trans_how" class="def">trans_how</a> :: <a href="Text-Regex-TDFA-Common.html#t:DTrans">DTrans</a></dt><dd class="doc"><p>how to go, including respawning
</p></dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DT" class="def">DT</a> <a href="src/Text-Regex-TDFA-Common.html#DT" class="link">Source</a></p><div class="doc"><p>Internal to the DFA node
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Simple-39-" class="def">Simple'</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:dt_win" class="def">dt_win</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> <a href="Text-Regex-TDFA-Common.html#t:Instructions">Instructions</a></dt><dd class="doc"><p>Actions to perform to win
</p></dd><dt class="src"><a name="v:dt_trans" class="def">dt_trans</a> :: <a href="Data-IntMap-CharMap2.html#t:CharMap">CharMap</a> <a href="Text-Regex-TDFA-Common.html#t:Transition">Transition</a></dt><dd class="doc"><p>Transition to accept Char
</p></dd><dt class="src"><a name="v:dt_other" class="def">dt_other</a> :: <a href="Text-Regex-TDFA-Common.html#t:Transition">Transition</a></dt><dd class="doc"><p>default accepting transition
</p></dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Testing-39-" class="def">Testing'</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:dt_test" class="def">dt_test</a> :: <a href="Text-Regex-TDFA-Common.html#t:WhichTest">WhichTest</a></dt><dd class="doc"><p>The test to perform
</p></dd><dt class="src"><a name="v:dt_dopas" class="def">dt_dopas</a> :: <a href="Data-IntSet-EnumSet2.html#t:EnumSet">EnumSet</a> <a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a></dt><dd class="doc"><p>location(s) of the anchor(s) in the original regexp
</p></dd><dt class="src"><a name="v:dt_a" class="def">dt_a</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a></dt><dd class="doc"><p>use dt_a if test is True else use dt_b
</p></dd><dt class="src"><a name="v:dt_b" class="def">dt_b</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a></dt><dd class="doc"><p>use dt_a if test is True else use dt_b
</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:DT" class="caption collapser" onclick="toggleSection('i:DT')">Instances</p><div id="section.i:DT" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:DTrans" class="def">DTrans</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> (<a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a>, <a href="Text-Regex-TDFA-Common.html#t:Instructions">Instructions</a>))<a href="src/Text-Regex-TDFA-Common.html#DTrans" class="link">Source</a></p><div class="doc"><p>Internal type to repesent the commands for the tagged transition.
The outer IntMap is for the destination Index and the inner IntMap
is for the Source Index. This is convenient since all runtime data
going to the same destination must be compared to find the best.
</p><p>A Destination IntMap entry may have an empty Source IntMap if and
only if the destination is the starting index and the NFA/DFA.
This instructs the matching engine to spawn a new entry starting at
the post-update position.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:DTrans-39-" class="def">DTrans'</a> = [(<a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>, [(<a href="Text-Regex-TDFA-Common.html#t:Index">Index</a>, (<a href="Text-Regex-TDFA-Common.html#t:DoPa">DoPa</a>, ([(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, (<a href="Text-Regex-TDFA-Common.html#t:Position">Position</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a>))], [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>])))])]<a href="src/Text-Regex-TDFA-Common.html#DTrans%27" class="link">Source</a></p><div class="doc"><p>Internal convenience type for the text display code
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Orbits" class="def">Orbits</a> <a href="src/Text-Regex-TDFA-Common.html#Orbits" class="link">Source</a></p><div class="doc"><p>Positions for which a * was re-started while looping. Need to
append locations at back but compare starting with front, so use
Seq as a Queue. The initial position is saved in basePos (and a
Maximize Tag), the middle positions in the Seq, and the final
position is NOT saved in the Orbits (only in a Maximize Tag).
</p><p>The orderinal code is being written XXX TODO document it.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Orbits" class="def">Orbits</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:inOrbit" class="def">inOrbit</a> :: !<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:basePos" class="def">basePos</a> :: <a href="Text-Regex-TDFA-Common.html#t:Position">Position</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:ordinal" class="def">ordinal</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:getOrbits" class="def">getOrbits</a> :: !(<a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-Sequence.html#t:Seq">Seq</a> <a href="Text-Regex-TDFA-Common.html#t:Position">Position</a>)</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Orbits" class="caption collapser" onclick="toggleSection('i:Orbits')">Instances</p><div id="section.i:Orbits" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:Orbits">Orbits</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Instructions" class="def">Instructions</a> <a href="src/Text-Regex-TDFA-Common.html#Instructions" class="link">Source</a></p><div class="doc"><p>The <code><a href="Text-Regex-TDFA-Common.html#v:newPos">newPos</a></code> and <code>newFlags</code> lists in Instructions are sorted by, and unique in, the Tag values
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Instructions" class="def">Instructions</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:newPos" class="def">newPos</a> :: ![(<a href="Text-Regex-TDFA-Common.html#t:Tag">Tag</a>, <a href="Text-Regex-TDFA-Common.html#t:Action">Action</a>)]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:newOrbits" class="def">newOrbits</a> :: !(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Text-Regex-TDFA-Common.html#t:Position">Position</a> -> <a href="Text-Regex-TDFA-Common.html#t:OrbitTransformer">OrbitTransformer</a>))</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Instructions" class="caption collapser" onclick="toggleSection('i:Instructions')">Instances</p><div id="section.i:Instructions" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:Instructions">Instructions</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Action" class="def">Action</a> <a href="src/Text-Regex-TDFA-Common.html#Action" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SetPre" class="def">SetPre</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:SetPost" class="def">SetPost</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:SetVal" class="def">SetVal</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Action" class="caption collapser" onclick="toggleSection('i:Action')">Instances</p><div id="section.i:Action" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Regex-TDFA-Common.html#t:Action">Action</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-Common.html#t:Action">Action</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:OrbitTransformer" class="def">OrbitTransformer</a> = <a href="Text-Regex-TDFA-Common.html#t:OrbitLog">OrbitLog</a> -> <a href="Text-Regex-TDFA-Common.html#t:OrbitLog">OrbitLog</a><a href="src/Text-Regex-TDFA-Common.html#OrbitTransformer" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:OrbitLog" class="def">OrbitLog</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/containers-0.4.2.1/Data-IntMap.html#t:IntMap">IntMap</a> <a href="Text-Regex-TDFA-Common.html#t:Orbits">Orbits</a><a href="src/Text-Regex-TDFA-Common.html#OrbitLog" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:showQT" class="def">showQT</a> :: <a href="Text-Regex-TDFA-Common.html#t:QT">QT</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Text-Regex-TDFA-Common.html#showQT" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:indent" class="def">indent</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Text-Regex-TDFA-Common.html#indent" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:showDT" class="def">showDT</a> :: <a href="Text-Regex-TDFA-Common.html#t:DT">DT</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Text-Regex-TDFA-Common.html#showDT" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:seeDTrans" class="def">seeDTrans</a> :: <a href="Text-Regex-TDFA-Common.html#t:DTrans">DTrans</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Text-Regex-TDFA-Common.html#seeDTrans" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>
|