This file is indexed.

/usr/share/doc/libghc-regexpr-doc/html/index.html is in libghc-regexpr-doc 0.5.4-11build3.

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
<!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>regexpr-0.5.4: regular expression like Perl/Ruby in Haskell</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();};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">regexpr-0.5.4: regular expression like Perl/Ruby in Haskell</p></div><div id="content"><div id="description"><h1>regexpr-0.5.4: regular expression like Perl/Ruby in Haskell</h1><div class="doc"><p>Regular expression library like Perl and Ruby's regular expressions.
This package has a module RegexPR.
And RegexPR export functions matchRegexPR and gsubRegexPR.</p><pre>matchRegexPR      :: String -&gt; String -&gt; Maybe ((String, (String, String)), [(Int, String)])
multiMatchRegexPR :: String -&gt; String -&gt; [ ((String, (String, String)), [(Int, String)]) ]
gmatchRegexPR     :: String -&gt; String -&gt; [ ((String, (String, String)), [(Int, String)]) ]
getbrsRegexPR     :: String -&gt; String -&gt; [ String ]
ggetbrsRegexPR    :: String -&gt; String -&gt; [ [ String ] ]
subRegexPR        :: String -&gt; String -&gt; String -&gt; String
subRegexPRBy      :: String -&gt; (String -&gt; String) -&gt; String -&gt; String
gsubRegexPR       :: String -&gt; String -&gt; String -&gt; String
gsubRegexPRBy     :: String -&gt; (String -&gt; String) -&gt; String -&gt; String
splitRegexPR      :: String -&gt; String -&gt; [String]</pre><p>Examples</p><pre>matchRegexPR &quot;ab(cde)f\\1&quot; &quot;kkkabcdefcdefgh&quot; =&gt;
             Just ((&quot;abcdefcde&quot;, (&quot;kkk&quot;, &quot;fgh&quot;)),[(1,&quot;cde&quot;)])
matchRegexPR &quot;(?&lt;=hij)abc&quot; &quot;kkkabchijabcde&quot; =&gt;
             Just ((&quot;abc&quot;,(&quot;kkkabchij&quot;,&quot;de&quot;)),[])
gsubRegexPR &quot;\\G(\\d\\d\\d)&quot; &quot;\\1,&quot; &quot;123456 789&quot; =&gt; &quot;123,456, 789&quot;
subRegexPR &quot;(?&lt;=(.)(.)(.))e&quot; &quot; \\3\\2\\1 &quot; &quot;abcdefg&quot; =&gt; &quot;abcd dcb fg&quot;
gsubRegexPR &quot;(?ixm)  aBc  . # comment \n\n&quot; &quot;abc!&quot; &quot;abc\nABCDAbcAbc&quot; =&gt;
            &quot;abc!abc!abc!bc&quot;
gmatchRegexPR &quot;(?=(?&lt;!(?!abc)))abc&quot; &quot;abcdefdefabc&quot; =&gt;
             [((&quot;abc&quot;, (&quot;&quot;, &quot;defdefabc&quot;)), []), ((&quot;abc&quot;, (&quot;defdef&quot;, &quot;&quot;)), [])]
splitRegexPR &quot;\\s*,\\s*&quot; &quot;a,b ,c\t ,d , e&quot; =&gt; [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,&quot;d&quot;,&quot;e&quot;]</pre></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Text</span><ul id="section.n.1" class="show"><li><span class="module"><a href="Text-RegexPR.html">Text.RegexPR</a></span></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>