/usr/share/doc/libghc-hxt-doc/html/Text-XML-HXT-Arrow-XmlRegex.html is in libghc-hxt-doc 9.3.1.4-1.
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 | <!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.XML.HXT.Arrow.XmlRegex</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-XML-HXT-Arrow-XmlRegex.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-XML-HXT-Arrow-XmlRegex.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">hxt-9.3.1.4: A collection of tools for processing XML with Haskell.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Uwe Schmidt (uwe@fh-wedel.de)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Text.XML.HXT.Arrow.XmlRegex</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Regular Expression Matcher working on lists of XmlTrees
</p><p>It's intended to import this module with an explicit
import declaration for not spoiling the namespace
with these somewhat special arrows
</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"><span class="keyword">data</span> <a href="#t:XmlRegex">XmlRegex</a> </li><li class="src short"><a href="#v:mkZero">mkZero</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkUnit">mkUnit</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkPrim">mkPrim</a> :: (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkPrim-39-">mkPrim'</a> :: (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkPrimA">mkPrimA</a> :: <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkDot">mkDot</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkStar">mkStar</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkAlt">mkAlt</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkAlts">mkAlts</a> :: [<a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a>] -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkSeq">mkSeq</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkSeqs">mkSeqs</a> :: [<a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a>] -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkRep">mkRep</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkRng">mkRng</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkOpt">mkOpt</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkPerm">mkPerm</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkPerms">mkPerms</a> :: [<a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a>] -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:mkMerge">mkMerge</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:nullable">nullable</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:delta">delta</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></li><li class="src short"><a href="#v:matchXmlRegex">matchXmlRegex</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:splitXmlRegex">splitXmlRegex</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>, <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>)</li><li class="src short"><a href="#v:scanXmlRegex">scanXmlRegex</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>]</li><li class="src short"><a href="#v:matchRegexA">matchRegexA</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li><li class="src short"><a href="#v:splitRegexA">splitRegexA</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>, <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>)</li><li class="src short"><a href="#v:scanRegexA">scanRegexA</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:XmlRegex" class="def">XmlRegex</a> <a href="src/Text-XML-HXT-Arrow-XmlRegex.html#XmlRegex" class="link">Source</a></p><div class="subs instances"><p id="control.i:XmlRegex" class="caption collapser" onclick="toggleSection('i:XmlRegex')">Instances</p><div id="section.i:XmlRegex" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:mkZero" class="def">mkZero</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkZero" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkUnit" class="def">mkUnit</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkUnit" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkPrim" class="def">mkPrim</a> :: (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkPrim" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkPrim-39-" class="def">mkPrim'</a> :: (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkPrim%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkPrimA" class="def">mkPrimA</a> :: <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkPrimA" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkDot" class="def">mkDot</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkDot" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkStar" class="def">mkStar</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkStar" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkAlt" class="def">mkAlt</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkAlt" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkAlts" class="def">mkAlts</a> :: [<a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a>] -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkAlts" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkSeq" class="def">mkSeq</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkSeq" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkSeqs" class="def">mkSeqs</a> :: [<a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a>] -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkSeqs" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkRep" class="def">mkRep</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkRep" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkRng" class="def">mkRng</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkRng" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkOpt" class="def">mkOpt</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkOpt" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkPerm" class="def">mkPerm</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkPerm" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkPerms" class="def">mkPerms</a> :: [<a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a>] -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkPerms" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkMerge" class="def">mkMerge</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#mkMerge" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:nullable" class="def">nullable</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#nullable" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:delta" class="def">delta</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#delta" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:matchXmlRegex" class="def">matchXmlRegex</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#matchXmlRegex" class="link">Source</a></p><div class="doc"><p>match a sequence of XML trees with a regular expression over trees
</p><p>If the input matches, the result is Nothing, else Just an error message is returned
</p></div></div><div class="top"><p class="src"><a name="v:splitXmlRegex" class="def">splitXmlRegex</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>, <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>)<a href="src/Text-XML-HXT-Arrow-XmlRegex.html#splitXmlRegex" class="link">Source</a></p><div class="doc"><p>split a sequence of XML trees into a pair of a a matching prefix and a rest
</p><p>If there is no matching prefix, Nothing is returned
</p></div></div><div class="top"><p class="src"><a name="v:scanXmlRegex" class="def">scanXmlRegex</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>]<a href="src/Text-XML-HXT-Arrow-XmlRegex.html#scanXmlRegex" class="link">Source</a></p><div class="doc"><p>scan a sequence of XML trees and split it into parts matching the given regex
</p><p>If the parts cannot be split because of a missing match, or because of the
empty sequence as match, Nothing is returned
</p></div></div><div class="top"><p class="src"><a name="v:matchRegexA" class="def">matchRegexA</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#matchRegexA" class="link">Source</a></p><div class="doc"><p>check whether a sequence of XmlTrees match an Xml regular expression
</p><p>The arrow for <code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:matchXmlRegex">matchXmlRegex</a></code>.
</p><p>The expession is build up from simple arrows acting as predicate (<code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:mkPrimA">mkPrimA</a></code>) for
an XmlTree and of the usual cobinators for sequence (<code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:mkSeq">mkSeq</a></code>), repetition
(<code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:mkStar">mkStar</a></code>, mkRep', <code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:mkRng">mkRng</a></code>) and choice (<code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:mkAlt">mkAlt</a></code>, <code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:mkOpt">mkOpt</a></code>)
</p></div></div><div class="top"><p class="src"><a name="v:splitRegexA" class="def">splitRegexA</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> (<a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>, <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a>)<a href="src/Text-XML-HXT-Arrow-XmlRegex.html#splitRegexA" class="link">Source</a></p><div class="doc"><p>split the sequence of trees computed by the filter a into
</p><p>The arrow for <code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:splitXmlRegex">splitXmlRegex</a></code>.
</p><p>a first part matching the regex and a rest,
if a prefix of the input sequence does not match the regex, the arrow fails
else the pair containing the result lists is returned
</p></div></div><div class="top"><p class="src"><a name="v:scanRegexA" class="def">scanRegexA</a> :: <a href="Text-XML-HXT-Arrow-XmlRegex.html#t:XmlRegex">XmlRegex</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> -> <a href="Control-Arrow-ListArrow.html#t:LA">LA</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTree">XmlTree</a> <a href="Text-XML-HXT-DOM-TypeDefs.html#t:XmlTrees">XmlTrees</a><a href="src/Text-XML-HXT-Arrow-XmlRegex.html#scanRegexA" class="link">Source</a></p><div class="doc"><p>scan the input sequence with a regex and give the result as a list of lists of trees back
the regex must at least match one input tree, so the empty sequence should not match the regex
</p><p>The arrow for <code><a href="Text-XML-HXT-Arrow-XmlRegex.html#v:scanXmlRegex">scanXmlRegex</a></code>.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|