This file is indexed.

/usr/share/doc/libghc-missingh-doc/html/System-Path-WildMatch.html is in libghc-missingh-doc 1.1.0.3-6.

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
<!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>System.Path.WildMatch</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_System-Path-WildMatch.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Path-WildMatch.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">MissingH-1.1.0.3: Large utility library</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>provisional</td></tr><tr><th>Maintainer</th><td>John Goerzen &lt;jgoerzen@complete.org&gt;</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">System.Path.WildMatch</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Wildcard matching
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Matching filenames with wildcards.  See also <a href="System-Path-Glob.html">System.Path.Glob</a> for
support for generating lists of files based on wildcards.
</p><p>Inspired by fnmatch.py, part of the Python standard library.
</p><p>Written by John Goerzen, jgoerzen@complete.org
</p><p>The input wildcard for functions in this module is expected to be in
the standard style of Posix shells.
</p><p>That is:
</p><pre>? matches exactly one character
\* matches zero or more characters
[list] matches any character in list
[!list] matches any character not in the list
</pre><p>The returned regular expression will always end in $ but never begins
with ^, making it suitable for appending to the end of paths.  If you want to
match a given filename directly, you should prepend the ^ character to the
returned value from this function.
</p><p>Please note:
</p><ul><li> Neither the path separator (the slash or backslash) nor the period carry
any special meaning for the functions in this module.  That is, <code>*</code> will
match <code>/</code> in a filename.  If this is not the behavior you want, you probably
want <a href="System-Path-Glob.html">System.Path.Glob</a> instead of this module.
</li><li> Unlike the Unix shell, filenames that begin with a period are not ignored
by this module.  That is, <code>*.txt</code> will match <code>.test.txt</code>.
</li><li> This module does not current permit escaping of special characters.
</li></ul></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"><a href="#v:wildCheckCase">wildCheckCase</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:wildToRegex">wildToRegex</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li></ul></div><div id="interface"><h1 id="g:1">Wildcard matching
</h1><div class="top"><p class="src"><a name="v:wildCheckCase" class="def">wildCheckCase</a><a href="src/System-Path-WildMatch.html#wildCheckCase" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The wildcard pattern to use as the base
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The filename to check against it
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>Result
</p></td></tr></table></div><div class="doc"><p>Check the given name against the given pattern, being case-sensitive.
</p><p>The given pattern is forced to match the given name starting at the beginning.
</p></div></div><div class="top"><p class="src"><a name="v:wildToRegex" class="def">wildToRegex</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/System-Path-WildMatch.html#wildToRegex" class="link">Source</a></p><div class="doc"><p>Convert a wildcard to an (uncompiled) regular expression.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>