/usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-ByteString.html is in libghc-regex-tdfa-doc 1.2.1-1build1.
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 | <!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.ByteString</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-ByteString.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Regex-TDFA-ByteString.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.2.1: Replaces/Enhances Text.Regex</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.Regex.TDFA.ByteString</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This modules provides <code><a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a></code> and <code><a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexLike">RegexLike</a></code> instances for using
<code>ByteString</code> with the DFA backend (<a href="Text-Regex-Lib-WrapDFAEngine.html">Text.Regex.Lib.WrapDFAEngine</a> and
<a href="Text-Regex-Lazy-DFAEngineFPS.html">Text.Regex.Lazy.DFAEngineFPS</a>). This module is usually used via
import <a href="Text-Regex-TDFA.html">Text.Regex.TDFA</a>.</p><p>This exports instances of the high level API and the medium level
API of <code><a href="Text-Regex-TDFA-ByteString.html#v:compile">compile</a></code>,<code><a href="Text-Regex-TDFA-ByteString.html#v:execute">execute</a></code>, and <code><a href="Text-Regex-TDFA-ByteString.html#v:regexec">regexec</a></code>.</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:Regex">Regex</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:CompOption">CompOption</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:compile">compile</a> :: <a href="Text-Regex-TDFA-ByteString.html#t:CompOption">CompOption</a> -> <a href="Text-Regex-TDFA-ByteString.html#t:ExecOption">ExecOption</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a></li><li class="src short"><a href="#v:execute">execute</a> :: <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:MatchArray">MatchArray</a>)</li><li class="src short"><a href="#v:regexec">regexec</a> :: <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>]))</li></ul></div><div id="interface"><h1>Documentation</h1><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-ByteString.html#t:Regex">Regex</a></code> type, used by this module's RegexOptions and RegexMaker</p></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 clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-ByteString.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-ByteString.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-TDFA-Common.html#line-142" class="link">Source</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 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 clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Text-Regex-TDFA-ByteString.html#t:CompOption">CompOption</a></span> <a href="src/Text-Regex-TDFA-Common.html#line-99" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-ByteString.html#t:CompOption">CompOption</a></span> <a href="src/Text-Regex-TDFA-Common.html#line-99" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-ByteString.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-ByteString.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-TDFA-Common.html#line-142" class="link">Source</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 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 clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Text-Regex-TDFA-ByteString.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-TDFA-Common.html#line-103" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-TDFA-ByteString.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-TDFA-Common.html#line-103" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-ByteString.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-ByteString.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-TDFA-Common.html#line-142" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:compile" class="def">compile</a> <a href="src/Text-Regex-TDFA-ByteString.html#compile" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Regex-TDFA-ByteString.html#t:CompOption">CompOption</a></td><td class="doc"><p>Flags (summed together)</p></td></tr><tr><td class="src">-> <a href="Text-Regex-TDFA-ByteString.html#t:ExecOption">ExecOption</a></td><td class="doc"><p>Flags (summed together)</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>The regular expression to compile</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a></td><td class="doc"><p>Returns: the compiled regular expression</p></td></tr></table></div></div><div class="top"><p class="src"><a name="v:execute" class="def">execute</a> <a href="src/Text-Regex-TDFA-ByteString.html#execute" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a></td><td class="doc"><p>Compiled regular expression</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>ByteString to match against</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:MatchArray">MatchArray</a>)</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:regexec" class="def">regexec</a> <a href="src/Text-Regex-TDFA-ByteString.html#regexec" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Regex-TDFA-ByteString.html#t:Regex">Regex</a></td><td class="doc"><p>Compiled regular expression</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>ByteString to match against</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>]))</td><td class="doc empty"> </td></tr></table></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|