/usr/share/doc/libghc-yi-language-doc/html/Yi-Regex.html is in libghc-yi-language-doc 0.2.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | <!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>Yi.Regex</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Yi-Regex.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Yi-Regex.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">yi-language-0.2.1: Collection of language-related Yi libraries.</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>Haskell2010</td></tr></table><p class="caption">Yi.Regex</p></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:SearchOption">SearchOption</a><ul class="subs"><li>= <a href="#v:IgnoreCase">IgnoreCase</a></li><li>| <a href="#v:NoNewLine">NoNewLine</a></li><li>| <a href="#v:QuoteRegex">QuoteRegex</a></li></ul></li><li class="src short"><a href="#v:makeSearchOptsM">makeSearchOptsM</a> :: [<a href="Yi-Regex.html#t:SearchOption">SearchOption</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="Yi-Regex.html#t:SearchExp">SearchExp</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SearchExp">SearchExp</a> = <a href="#v:SearchExp">SearchExp</a> {<ul class="subs"><li><a href="#v:seInput">seInput</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li><a href="#v:seCompiled">seCompiled</a> :: <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a></li><li><a href="#v:seBackCompiled">seBackCompiled</a> :: <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a></li><li><a href="#v:seOptions">seOptions</a> :: [<a href="Yi-Regex.html#t:SearchOption">SearchOption</a>]</li></ul>}</li><li class="src short"><a href="#v:searchString">searchString</a> :: <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:searchRegex">searchRegex</a> :: <a href="Yi-Buffer-Basic.html#t:Direction">Direction</a> -> <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> -> <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a></li><li class="src short"><a href="#v:emptySearch">emptySearch</a> :: <a href="Yi-Regex.html#t:SearchExp">SearchExp</a></li><li class="src short"><a href="#v:emptyRegex">emptyRegex</a> :: <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a></li><li class="src short"><a href="#v:regexEscapeString">regexEscapeString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short">module <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA.html">Text.Regex.TDFA</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:SearchOption" class="def">SearchOption</a> <a href="src/Yi-Regex.html#SearchOption" class="link">Source</a> <a href="#t:SearchOption" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:IgnoreCase" class="def">IgnoreCase</a></td><td class="doc"><p>Compile for matching that ignores char case</p></td></tr><tr><td class="src"><a id="v:NoNewLine" class="def">NoNewLine</a></td><td class="doc"><p>Compile for newline-insensitive matching</p></td></tr><tr><td class="src"><a id="v:QuoteRegex" class="def">QuoteRegex</a></td><td class="doc"><p>Treat the input not as a regex but as a literal string to search for.</p></td></tr></table></div><div class="subs instances"><p id="control.i:SearchOption" class="caption collapser" onclick="toggleSection('i:SearchOption')">Instances</p><div id="section.i:SearchOption" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SearchOption:Eq:1" class="instance expander" onclick="toggleSection('i:id:SearchOption:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a></span> <a href="src/Yi-Regex.html#line-52" class="link">Source</a> <a href="#t:SearchOption" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SearchOption:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> -> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> -> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SearchOption:Generic:2" class="instance expander" onclick="toggleSection('i:id:SearchOption:Generic:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Generic">Generic</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a></span> <a href="src/Yi-Regex.html#line-52" class="link">Source</a> <a href="#t:SearchOption" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SearchOption:Generic:2" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Rep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:from">from</a> :: <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> x <a href="#v:from" class="selflink">#</a></p><p class="src"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> x -> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> <a href="#v:to" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SearchOption:Binary:3" class="instance expander" onclick="toggleSection('i:id:SearchOption:Binary:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary.html#t:Binary">Binary</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a></span> <a href="src/Yi-Regex.html#line-54" class="link">Source</a> <a href="#t:SearchOption" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SearchOption:Binary:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:put">put</a> :: <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:put" class="selflink">#</a></p><p class="src"><a href="#v:get">get</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Get-Internal.html#t:Get">Get</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> <a href="#v:get" class="selflink">#</a></p><p class="src"><a href="#v:putList">putList</a> :: [<a href="Yi-Regex.html#t:SearchOption">SearchOption</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:putList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SearchOption:Rep:4" class="instance expander" onclick="toggleSection('i:id:SearchOption:Rep:4')"></span> <span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a></span> <a href="src/Yi-Regex.html#line-48" class="link">Source</a> <a href="#t:SearchOption" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SearchOption:Rep:4" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Yi-Regex.html#t:SearchOption">SearchOption</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:D1">D1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaData">MetaData</a> "SearchOption" "Yi.Regex" "yi-language-0.2.1-2w80P6NrRKi3fGVtcejpJV" <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t::-43-:">(:+:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaCons">MetaCons</a> "IgnoreCase" <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a>) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:U1">U1</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t::-43-:">(:+:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaCons">MetaCons</a> "NoNewLine" <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a>) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:U1">U1</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaCons">MetaCons</a> "QuoteRegex" <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a>) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:U1">U1</a>)))</div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:makeSearchOptsM" class="def">makeSearchOptsM</a> :: [<a href="Yi-Regex.html#t:SearchOption">SearchOption</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> <a href="src/Yi-Regex.html#makeSearchOptsM" class="link">Source</a> <a href="#v:makeSearchOptsM" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:SearchExp" class="def">SearchExp</a> <a href="src/Yi-Regex.html#SearchExp" class="link">Source</a> <a href="#t:SearchExp" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SearchExp" class="def">SearchExp</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:seInput" class="def">seInput</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:seCompiled" class="def">seCompiled</a> :: <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:seBackCompiled" class="def">seBackCompiled</a> :: <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:seOptions" class="def">seOptions</a> :: [<a href="Yi-Regex.html#t:SearchOption">SearchOption</a>]</dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:SearchExp" class="caption collapser" onclick="toggleSection('i:SearchExp')">Instances</p><div id="section.i:SearchExp" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SearchExp:Binary:1" class="instance expander" onclick="toggleSection('i:id:SearchExp:Binary:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary.html#t:Binary">Binary</a> <a href="Yi-Regex.html#t:SearchExp">SearchExp</a></span> <a href="src/Yi-Regex.html#line-73" class="link">Source</a> <a href="#t:SearchExp" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SearchExp:Binary:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:put">put</a> :: <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:put" class="selflink">#</a></p><p class="src"><a href="#v:get">get</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Get-Internal.html#t:Get">Get</a> <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> <a href="#v:get" class="selflink">#</a></p><p class="src"><a href="#v:putList">putList</a> :: [<a href="Yi-Regex.html#t:SearchExp">SearchExp</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:putList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:searchString" class="def">searchString</a> :: <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Yi-Regex.html#searchString" class="link">Source</a> <a href="#v:searchString" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:searchRegex" class="def">searchRegex</a> :: <a href="Yi-Buffer-Basic.html#t:Direction">Direction</a> -> <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> -> <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="src/Yi-Regex.html#searchRegex" class="link">Source</a> <a href="#v:searchRegex" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:emptySearch" class="def">emptySearch</a> :: <a href="Yi-Regex.html#t:SearchExp">SearchExp</a> <a href="src/Yi-Regex.html#emptySearch" class="link">Source</a> <a href="#v:emptySearch" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:emptyRegex" class="def">emptyRegex</a> :: <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="src/Yi-Regex.html#emptyRegex" class="link">Source</a> <a href="#v:emptyRegex" class="selflink">#</a></p><div class="doc"><p>The regular expression that matches nothing.</p></div></div><div class="top"><p class="src"><a id="v:regexEscapeString" class="def">regexEscapeString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Yi-Regex.html#regexEscapeString" class="link">Source</a> <a href="#v:regexEscapeString" class="selflink">#</a></p><div class="doc"><p>Return an escaped (for parseRegex use) version of the string.</p></div></div><div class="top"><p class="src">module <a href="file:///usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA.html">Text.Regex.TDFA</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|