This file is indexed.

/usr/share/doc/libghc-regexpr-doc/html/regexpr.txt is in libghc-regexpr-doc 0.5.4-9build1.

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
-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | regular expression like Perl/Ruby in Haskell
--   
--   Regular expression library like Perl and Ruby's regular expressions.
--   This package has a module RegexPR. And RegexPR export functions
--   matchRegexPR and gsubRegexPR.
--   
--   <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>
--   
--   Examples
--   
--   <pre>
--   matchRegexPR "ab(cde)f\\1" "kkkabcdefcdefgh" =&gt;
--                Just (("abcdefcde", ("kkk", "fgh")),[(1,"cde")])
--   matchRegexPR "(?&lt;=hij)abc" "kkkabchijabcde" =&gt;
--                Just (("abc",("kkkabchij","de")),[])
--   gsubRegexPR "\\G(\\d\\d\\d)" "\\1," "123456 789" =&gt; "123,456, 789"
--   subRegexPR "(?&lt;=(.)(.)(.))e" " \\3\\2\\1 " "abcdefg" =&gt; "abcd dcb fg"
--   gsubRegexPR "(?ixm)  aBc  . # comment \n\n" "abc!" "abc\nABCDAbcAbc" =&gt;
--               "abc!abc!abc!bc"
--   gmatchRegexPR "(?=(?&lt;!(?!abc)))abc" "abcdefdefabc" =&gt;
--                [(("abc", ("", "defdefabc")), []), (("abc", ("defdef", "")), [])]
--   splitRegexPR "\\s*,\\s*" "a,b ,c\t ,d , e" =&gt; ["a","b","c","d","e"]
--   </pre>
@package regexpr
@version 0.5.4

module Text.RegexPR
matchRegexPR :: MatchFun Maybe
multiMatchRegexPR :: MatchFun []
gmatchRegexPR :: MatchFun []
getbrsRegexPR :: String -> String -> [String]
ggetbrsRegexPR :: String -> String -> [[String]]
subRegexPR :: String -> String -> String -> String
subRegexPRBy :: String -> (String -> String) -> String -> String
gsubRegexPR :: String -> String -> String -> String
gsubRegexPRBy :: String -> (String -> String) -> String -> String
splitRegexPR :: String -> String -> [String]