/usr/share/doc/libghc-regex-tdfa-doc/html/Text-Regex-TDFA.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 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <!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</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.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Regex-TDFA.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</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The <a href="Text-Regex-TDFA.html">Text.Regex.TDFA</a> module provides a backend for regular
expressions. It provides instances for the classes defined and
documented in <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base.html">Text.Regex.Base</a> and re-exported by this module. If
you import this along with other backends then you should do so with
qualified imports (with renaming for convenience).</p><p>This regex-tdfa package implements, correctly, POSIX extended regular
expressions. It is highly unlikely that the regex-posix package on
your operating system is correct, see
http:/<em>www.haskell.org</em>haskellwiki/Regex_Posix for examples of your
OS's bugs.</p><p>This package does provide captured parenthesized subexpressions.</p><p>Depending on the text being searched this package supports Unicode.
The [Char] and (Seq Char) text types support Unicode. The ByteString
and ByteString.Lazy text types only support ASCII. It is possible to
support utf8 encoded ByteString.Lazy by using regex-tdfa and
regex-tdfa-utf8 packages together (required the utf8-string package).</p><p>As of version 1.1.1 the following GNU extensions are recognized, all
anchors:</p><p>\` at beginning of entire text</p><p>\' at end of entire text</p><p>\< at beginning of word</p><p>\> at end of word</p><p>\b at either beginning or end of word</p><p>\B at neither beginning nor end of word</p><p>The above are controlled by the <code><a href="Text-Regex-TDFA-Common.html#v:newSyntax">newSyntax</a></code> Bool in <code><a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a></code>.</p><p>Where the "word" boundaries means between characters that are and are
not in the [:word:] character class which contains [a-zA-Z0-9_]. Note
that < and b may match before the entire text and > and b may
match at the end of the entire text.</p><p>There is no locale support, so collating elements like [.ch.] are
simply ignored and equivalence classes like [=a=] are converted to
just [a]. The character classes like [:alnum:] are supported over
ASCII only, valid classes are alnum, digit, punct, alpha, graph,
space, blank, lower, upper, cntrl, print, xdigit, word.</p><p>This package does not provide "basic" regular expressions. This
package does not provide back references inside regular expressions.</p><p>The package does not provide Perl style regular expressions. Please
look at the regex-pcre and pcre-light packages instead.</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"><a href="#v:getVersion_Text_Regex_TDFA">getVersion_Text_Regex_TDFA</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Version.html#t:Version">Version</a></li><li class="src short"><a href="#v:-61--126-">(=~)</a> :: (<a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> source, <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> source1 target) => source1 -> source -> target</li><li class="src short"><a href="#v:-61--126--126-">(=~~)</a> :: (<a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> source, <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> source1 target, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m) => source1 -> source -> m target</li><li class="src short">module <a href="Text-Regex-TDFA-Common.html">Text.Regex.TDFA.Common</a></li><li class="src short">module <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base.html">Text.Regex.Base</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:getVersion_Text_Regex_TDFA" class="def">getVersion_Text_Regex_TDFA</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Version.html#t:Version">Version</a> <a href="src/Text-Regex-TDFA.html#getVersion_Text_Regex_TDFA" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:-61--126-" class="def">(=~)</a> :: (<a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> source, <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> source1 target) => source1 -> source -> target <a href="src/Text-Regex-TDFA.html#%3D~" class="link">Source</a></p><div class="doc"><p>This is the pure functional matching operator. If the target
cannot be produced then some empty result will be returned. If
there is an error in processing, then <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#v:error">error</a></code> will be called.</p></div></div><div class="top"><p class="src"><a name="v:-61--126--126-" class="def">(=~~)</a> :: (<a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexMaker">RegexMaker</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> <a href="Text-Regex-TDFA-Common.html#t:CompOption">CompOption</a> <a href="Text-Regex-TDFA-Common.html#t:ExecOption">ExecOption</a> source, <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexContext">RegexContext</a> <a href="Text-Regex-TDFA-Common.html#t:Regex">Regex</a> source1 target, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m) => source1 -> source -> m target <a href="src/Text-Regex-TDFA.html#%3D~~" class="link">Source</a></p><div class="doc"><p>This is the monadic matching operator. If a single match fails,
then <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#v:fail">fail</a></code> will be called.</p></div></div><div class="top"><p class="src">module <a href="Text-Regex-TDFA-Common.html">Text.Regex.TDFA.Common</a></p></div><div class="top"><p class="src">module <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base.html">Text.Regex.Base</a></p></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>
|