This file is indexed.

/usr/share/doc/libghc-regex-pcre-doc/html/Text-Regex-PCRE-Wrap.html is in libghc-regex-pcre-doc 0.94.4-9.

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
<!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.PCRE.Wrap</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_Text-Regex-PCRE-Wrap.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Regex-PCRE-Wrap.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-pcre-0.94.4: 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.PCRE.Wrap</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">High-level interface</a></li><li><a href="#g:2">Low-level interface</a></li><li><a href="#g:3">Miscellaneous</a></li><li><a href="#g:4">CompOption values</a></li><li><a href="#g:5">ExecOption values</a></li><li><a href="#g:6">ReturnCode values</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This will fail or error only if allocation fails or a nullPtr is passed in.</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"><span class="keyword">data</span> <a href="#t:Regex">Regex</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:CompOption">CompOption</a> = <a href="#v:CompOption">CompOption</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-Types.html#t:CInt">CInt</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:ExecOption">ExecOption</a> = <a href="#v:ExecOption">ExecOption</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-Types.html#t:CInt">CInt</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-PCRE-Wrap.html#t:Regex">Regex</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="Text-Regex-PCRE-Wrap.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-PCRE-Wrap.html#t:Regex">Regex</a> source1 target) =&gt; source1 -&gt; source -&gt; 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-PCRE-Wrap.html#t:Regex">Regex</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="Text-Regex-PCRE-Wrap.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-PCRE-Wrap.html#t:Regex">Regex</a> source1 target, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; source1 -&gt; source -&gt; m target</li><li class="src short"><span class="keyword">type</span> <a href="#t:StartOffset">StartOffset</a> = <a href="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:EndOffset">EndOffset</a> = <a href="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:ReturnCode">ReturnCode</a> = <a href="#v:ReturnCode">ReturnCode</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-Types.html#t:CInt">CInt</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:WrapError">WrapError</a> = (<a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</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:wrapCompile">wrapCompile</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CString">CString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</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="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a>)</li><li class="src short"><a href="#v:wrapTest">wrapTest</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:StartOffset">StartOffset</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>)</li><li class="src short"><a href="#v:wrapMatch">wrapMatch</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:StartOffset">StartOffset</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [(<a href="Text-Regex-PCRE-Wrap.html#t:StartOffset">StartOffset</a>, <a href="Text-Regex-PCRE-Wrap.html#t:EndOffset">EndOffset</a>)]))</li><li class="src short"><a href="#v:wrapMatchAll">wrapMatchAll</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> [<a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:MatchArray">MatchArray</a>])</li><li class="src short"><a href="#v:wrapCount">wrapCount</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:getVersion">getVersion</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</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:configUTF8">configUTF8</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:getNumSubs">getNumSubs</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:unusedOffset">unusedOffset</a> :: <a href="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</a></li><li class="src short"><a href="#v:compBlank">compBlank</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compAnchored">compAnchored</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compAutoCallout">compAutoCallout</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compCaseless">compCaseless</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compDollarEndOnly">compDollarEndOnly</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compDotAll">compDotAll</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compExtended">compExtended</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compExtra">compExtra</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compFirstLine">compFirstLine</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compMultiline">compMultiline</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compNoAutoCapture">compNoAutoCapture</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compUngreedy">compUngreedy</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compUTF8">compUTF8</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:compNoUTF8Check">compNoUTF8Check</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></li><li class="src short"><a href="#v:execBlank">execBlank</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:execAnchored">execAnchored</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:execNotBOL">execNotBOL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:execNotEOL">execNotEOL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:execNotEmpty">execNotEmpty</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:execNoUTF8Check">execNoUTF8Check</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:execPartial">execPartial</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></li><li class="src short"><a href="#v:retOk">retOk</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li><li class="src short"><a href="#v:retNoMatch">retNoMatch</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li><li class="src short"><a href="#v:retNull">retNull</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li><li class="src short"><a href="#v:retBadOption">retBadOption</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li><li class="src short"><a href="#v:retBadMagic">retBadMagic</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li><li class="src short"><a href="#v:retUnknownNode">retUnknownNode</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li><li class="src short"><a href="#v:retNoMemory">retNoMemory</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li><li class="src short"><a href="#v:retNoSubstring">retNoSubstring</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></li></ul></div><div id="interface"><h2 id="g:1">High-level interface</h2><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Regex" class="def">Regex</a> <a href="src/Text-Regex-PCRE-Wrap.html#Regex" class="link">Source</a> <a href="#t:Regex" class="selflink">#</a></p><div class="doc"><p>A compiled regular expression</p></div><div class="subs instances"><p id="control.i:Regex" class="caption collapser" onclick="toggleSection('i:Regex')">Instances</p><div id="section.i:Regex" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Regex:RegexOptions:1" class="instance expander" onclick="toggleSection('i:id:Regex:RegexOptions:1')"></span> <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-150" class="link">Source</a> <a href="#t:Regex" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Regex:RegexOptions:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:blankCompOpt">blankCompOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:blankCompOpt" class="selflink">#</a></p><p class="src"><a href="#v:blankExecOpt">blankExecOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:blankExecOpt" class="selflink">#</a></p><p class="src"><a href="#v:defaultCompOpt">defaultCompOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:defaultCompOpt" class="selflink">#</a></p><p class="src"><a href="#v:defaultExecOpt">defaultExecOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:defaultExecOpt" class="selflink">#</a></p><p class="src"><a href="#v:setExecOpts">setExecOpts</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> <a href="#v:setExecOpts" class="selflink">#</a></p><p class="src"><a href="#v:getExecOpts">getExecOpts</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:getExecOpts" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:CompOption" class="def">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#CompOption" class="link">Source</a> <a href="#t:CompOption" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:CompOption" class="def">CompOption</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-Types.html#t:CInt">CInt</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:CompOption" class="caption collapser" onclick="toggleSection('i:CompOption')">Instances</p><div id="section.i:CompOption" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CompOption:Eq:1" class="instance expander" onclick="toggleSection('i:id:CompOption: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="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-107" class="link">Source</a> <a href="#t:CompOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CompOption: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="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <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="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <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:CompOption:Num:2" class="instance expander" onclick="toggleSection('i:id:CompOption:Num:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Num">Num</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-107" class="link">Source</a> <a href="#t:CompOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CompOption:Num:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CompOption:Show:3" class="instance expander" onclick="toggleSection('i:id:CompOption:Show:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-107" class="link">Source</a> <a href="#t:CompOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CompOption:Show:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CompOption:Bits:4" class="instance expander" onclick="toggleSection('i:id:CompOption:Bits:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bits.html#t:Bits">Bits</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-107" class="link">Source</a> <a href="#t:CompOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CompOption:Bits:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:.-38-.">(.&amp;.)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:.-38-." class="selflink">#</a></p><p class="src"><a href="#v:.-124-.">(.|.)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:.-124-." class="selflink">#</a></p><p class="src"><a href="#v:xor">xor</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:xor" class="selflink">#</a></p><p class="src"><a href="#v:complement">complement</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:complement" class="selflink">#</a></p><p class="src"><a href="#v:shift">shift</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:shift" class="selflink">#</a></p><p class="src"><a href="#v:rotate">rotate</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:rotate" class="selflink">#</a></p><p class="src"><a href="#v:zeroBits">zeroBits</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:zeroBits" class="selflink">#</a></p><p class="src"><a href="#v:bit">bit</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:bit" class="selflink">#</a></p><p class="src"><a href="#v:setBit">setBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:setBit" class="selflink">#</a></p><p class="src"><a href="#v:clearBit">clearBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:clearBit" class="selflink">#</a></p><p class="src"><a href="#v:complementBit">complementBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:complementBit" class="selflink">#</a></p><p class="src"><a href="#v:testBit">testBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <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:testBit" class="selflink">#</a></p><p class="src"><a href="#v:bitSizeMaybe">bitSizeMaybe</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:bitSizeMaybe" class="selflink">#</a></p><p class="src"><a href="#v:bitSize">bitSize</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:bitSize" class="selflink">#</a></p><p class="src"><a href="#v:isSigned">isSigned</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <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:isSigned" class="selflink">#</a></p><p class="src"><a href="#v:shiftL">shiftL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:shiftL" class="selflink">#</a></p><p class="src"><a href="#v:unsafeShiftL">unsafeShiftL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:unsafeShiftL" class="selflink">#</a></p><p class="src"><a href="#v:shiftR">shiftR</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:shiftR" class="selflink">#</a></p><p class="src"><a href="#v:unsafeShiftR">unsafeShiftR</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:unsafeShiftR" class="selflink">#</a></p><p class="src"><a href="#v:rotateL">rotateL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:rotateL" class="selflink">#</a></p><p class="src"><a href="#v:rotateR">rotateR</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:rotateR" class="selflink">#</a></p><p class="src"><a href="#v:popCount">popCount</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:popCount" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:CompOption:RegexOptions:5" class="instance expander" onclick="toggleSection('i:id:CompOption:RegexOptions:5')"></span> <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-150" class="link">Source</a> <a href="#t:CompOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:CompOption:RegexOptions:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:blankCompOpt">blankCompOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:blankCompOpt" class="selflink">#</a></p><p class="src"><a href="#v:blankExecOpt">blankExecOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:blankExecOpt" class="selflink">#</a></p><p class="src"><a href="#v:defaultCompOpt">defaultCompOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:defaultCompOpt" class="selflink">#</a></p><p class="src"><a href="#v:defaultExecOpt">defaultExecOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:defaultExecOpt" class="selflink">#</a></p><p class="src"><a href="#v:setExecOpts">setExecOpts</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> <a href="#v:setExecOpts" class="selflink">#</a></p><p class="src"><a href="#v:getExecOpts">getExecOpts</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:getExecOpts" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:ExecOption" class="def">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#ExecOption" class="link">Source</a> <a href="#t:ExecOption" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:ExecOption" class="def">ExecOption</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-Types.html#t:CInt">CInt</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:ExecOption" class="caption collapser" onclick="toggleSection('i:ExecOption')">Instances</p><div id="section.i:ExecOption" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ExecOption:Eq:1" class="instance expander" onclick="toggleSection('i:id:ExecOption: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="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-108" class="link">Source</a> <a href="#t:ExecOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ExecOption: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="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <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="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <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:ExecOption:Num:2" class="instance expander" onclick="toggleSection('i:id:ExecOption:Num:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Num">Num</a> <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-108" class="link">Source</a> <a href="#t:ExecOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ExecOption:Num:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ExecOption:Show:3" class="instance expander" onclick="toggleSection('i:id:ExecOption:Show:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-108" class="link">Source</a> <a href="#t:ExecOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ExecOption:Show:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ExecOption:Bits:4" class="instance expander" onclick="toggleSection('i:id:ExecOption:Bits:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bits.html#t:Bits">Bits</a> <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-108" class="link">Source</a> <a href="#t:ExecOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ExecOption:Bits:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:.-38-.">(.&amp;.)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:.-38-." class="selflink">#</a></p><p class="src"><a href="#v:.-124-.">(.|.)</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:.-124-." class="selflink">#</a></p><p class="src"><a href="#v:xor">xor</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:xor" class="selflink">#</a></p><p class="src"><a href="#v:complement">complement</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:complement" class="selflink">#</a></p><p class="src"><a href="#v:shift">shift</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:shift" class="selflink">#</a></p><p class="src"><a href="#v:rotate">rotate</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:rotate" class="selflink">#</a></p><p class="src"><a href="#v:zeroBits">zeroBits</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:zeroBits" class="selflink">#</a></p><p class="src"><a href="#v:bit">bit</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:bit" class="selflink">#</a></p><p class="src"><a href="#v:setBit">setBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:setBit" class="selflink">#</a></p><p class="src"><a href="#v:clearBit">clearBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:clearBit" class="selflink">#</a></p><p class="src"><a href="#v:complementBit">complementBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:complementBit" class="selflink">#</a></p><p class="src"><a href="#v:testBit">testBit</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <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:testBit" class="selflink">#</a></p><p class="src"><a href="#v:bitSizeMaybe">bitSizeMaybe</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:bitSizeMaybe" class="selflink">#</a></p><p class="src"><a href="#v:bitSize">bitSize</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:bitSize" class="selflink">#</a></p><p class="src"><a href="#v:isSigned">isSigned</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <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:isSigned" class="selflink">#</a></p><p class="src"><a href="#v:shiftL">shiftL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:shiftL" class="selflink">#</a></p><p class="src"><a href="#v:unsafeShiftL">unsafeShiftL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:unsafeShiftL" class="selflink">#</a></p><p class="src"><a href="#v:shiftR">shiftR</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:shiftR" class="selflink">#</a></p><p class="src"><a href="#v:unsafeShiftR">unsafeShiftR</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:unsafeShiftR" class="selflink">#</a></p><p class="src"><a href="#v:rotateL">rotateL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:rotateL" class="selflink">#</a></p><p class="src"><a href="#v:rotateR">rotateR</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:rotateR" class="selflink">#</a></p><p class="src"><a href="#v:popCount">popCount</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:popCount" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ExecOption:RegexOptions:5" class="instance expander" onclick="toggleSection('i:id:ExecOption:RegexOptions:5')"></span> <a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:RegexOptions">RegexOptions</a> <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-150" class="link">Source</a> <a href="#t:ExecOption" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ExecOption:RegexOptions:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:blankCompOpt">blankCompOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:blankCompOpt" class="selflink">#</a></p><p class="src"><a href="#v:blankExecOpt">blankExecOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:blankExecOpt" class="selflink">#</a></p><p class="src"><a href="#v:defaultCompOpt">defaultCompOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="#v:defaultCompOpt" class="selflink">#</a></p><p class="src"><a href="#v:defaultExecOpt">defaultExecOpt</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:defaultExecOpt" class="selflink">#</a></p><p class="src"><a href="#v:setExecOpts">setExecOpts</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> <a href="#v:setExecOpts" class="selflink">#</a></p><p class="src"><a href="#v:getExecOpts">getExecOpts</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="#v:getExecOpts" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="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-PCRE-Wrap.html#t:Regex">Regex</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="Text-Regex-PCRE-Wrap.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-PCRE-Wrap.html#t:Regex">Regex</a> source1 target) =&gt; source1 -&gt; source -&gt; target <a href="src/Text-Regex-PCRE-Wrap.html#%3D~" class="link">Source</a> <a href="#v:-61--126-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="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-PCRE-Wrap.html#t:Regex">Regex</a> <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="Text-Regex-PCRE-Wrap.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-PCRE-Wrap.html#t:Regex">Regex</a> source1 target, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; source1 -&gt; source -&gt; m target <a href="src/Text-Regex-PCRE-Wrap.html#%3D~~" class="link">Source</a> <a href="#v:-61--126--126-" class="selflink">#</a></p></div><h2 id="g:2">Low-level interface</h2><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:StartOffset" class="def">StartOffset</a> = <a href="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</a> <a href="src/Text-Regex-PCRE-Wrap.html#StartOffset" class="link">Source</a> <a href="#t:StartOffset" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:EndOffset" class="def">EndOffset</a> = <a href="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</a> <a href="src/Text-Regex-PCRE-Wrap.html#EndOffset" class="link">Source</a> <a href="#t:EndOffset" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:ReturnCode" class="def">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#ReturnCode" class="link">Source</a> <a href="#t:ReturnCode" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:ReturnCode" class="def">ReturnCode</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-Types.html#t:CInt">CInt</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:ReturnCode" class="caption collapser" onclick="toggleSection('i:ReturnCode')">Instances</p><div id="section.i:ReturnCode" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:ReturnCode:Eq:1" class="instance expander" onclick="toggleSection('i:id:ReturnCode: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="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-109" class="link">Source</a> <a href="#t:ReturnCode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ReturnCode: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="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> -&gt; <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="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> -&gt; <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:ReturnCode:Show:2" class="instance expander" onclick="toggleSection('i:id:ReturnCode:Show:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a></span> <a href="src/Text-Regex-PCRE-Wrap.html#line-109" class="link">Source</a> <a href="#t:ReturnCode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:ReturnCode:Show:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:WrapError" class="def">WrapError</a> = (<a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</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/Text-Regex-PCRE-Wrap.html#WrapError" class="link">Source</a> <a href="#t:WrapError" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:wrapCompile" class="def">wrapCompile</a> <a href="src/Text-Regex-PCRE-Wrap.html#wrapCompile" class="link">Source</a> <a href="#v:wrapCompile" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a></td><td class="doc"><p>Flags (summed together)</p></td></tr><tr><td class="src">-&gt; <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a></td><td class="doc"><p>Flags (summed together)</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CString">CString</a></td><td class="doc"><p>The regular expression to compile</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</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="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a>)</td><td class="doc"><p>Returns: an error offset and string or the compiled regular expression</p></td></tr></table></div><div class="doc"><p>Compiles a regular expression</p></div></div><div class="top"><p class="src"><a id="v:wrapTest" class="def">wrapTest</a> <a href="src/Text-Regex-PCRE-Wrap.html#wrapTest" class="link">Source</a> <a href="#v:wrapTest" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Regex-PCRE-Wrap.html#t:StartOffset">StartOffset</a></td><td class="doc"><p>Starting index in CStringLen</p></td></tr><tr><td class="src">-&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a></td><td class="doc"><p>Compiled regular expression</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a></td><td class="doc"><p>String to match against and length in bytes</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><a id="v:wrapMatch" class="def">wrapMatch</a> <a href="src/Text-Regex-PCRE-Wrap.html#wrapMatch" class="link">Source</a> <a href="#v:wrapMatch" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Regex-PCRE-Wrap.html#t:StartOffset">StartOffset</a></td><td class="doc"><p>Starting index in CStringLen</p></td></tr><tr><td class="src">-&gt; <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a></td><td class="doc"><p>Compiled regular expression</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a></td><td class="doc"><p>String to match against and length in bytes</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [(<a href="Text-Regex-PCRE-Wrap.html#t:StartOffset">StartOffset</a>, <a href="Text-Regex-PCRE-Wrap.html#t:EndOffset">EndOffset</a>)]))</td><td class="doc"><p>Returns: 'Right Nothing' if the regex did not match the
 string, or:
   'Right Just' an array of (offset,length) pairs where index 0 is whole match, and the rest are the captured subexpressions, or:
   'Left ReturnCode' if there is some strange error</p></td></tr></table></div><div class="doc"><p>Matches a regular expression against a string</p><p>Should never return (Right (Just []))</p></div></div><div class="top"><p class="src"><a id="v:wrapMatchAll" class="def">wrapMatchAll</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> [<a href="file:///usr/share/doc/libghc-regex-base-doc/html/Text-Regex-Base-RegexLike.html#t:MatchArray">MatchArray</a>]) <a href="src/Text-Regex-PCRE-Wrap.html#wrapMatchAll" class="link">Source</a> <a href="#v:wrapMatchAll" class="selflink">#</a></p><div class="doc"><p>wrapMatchAll is an improvement over wrapMatch since it only
 allocates memory with allocaBytes once at the start.</p></div></div><div class="top"><p class="src"><a id="v:wrapCount" class="def">wrapCount</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-C-String.html#t:CStringLen">CStringLen</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</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="Text-Regex-PCRE-Wrap.html#t:WrapError">WrapError</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>) <a href="src/Text-Regex-PCRE-Wrap.html#wrapCount" class="link">Source</a> <a href="#v:wrapCount" class="selflink">#</a></p></div><h2 id="g:3">Miscellaneous</h2><div class="top"><p class="src"><a id="v:getVersion" class="def">getVersion</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</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/Text-Regex-PCRE-Wrap.html#getVersion" class="link">Source</a> <a href="#v:getVersion" class="selflink">#</a></p><div class="doc"><p>return version of pcre used or Nothing if pcre is not available.</p></div></div><div class="top"><p class="src"><a id="v:configUTF8" class="def">configUTF8</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="src/Text-Regex-PCRE-Wrap.html#configUTF8" class="link">Source</a> <a href="#v:configUTF8" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getNumSubs" class="def">getNumSubs</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:Regex">Regex</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Regex-PCRE-Wrap.html#getNumSubs" class="link">Source</a> <a href="#v:getNumSubs" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:unusedOffset" class="def">unusedOffset</a> :: <a href="Text-Regex-PCRE-String.html#t:MatchOffset">MatchOffset</a> <a href="src/Text-Regex-PCRE-Wrap.html#unusedOffset" class="link">Source</a> <a href="#v:unusedOffset" class="selflink">#</a></p></div><h2 id="g:4">CompOption values</h2><div class="top"><p class="src"><a id="v:compBlank" class="def">compBlank</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compBlank" class="link">Source</a> <a href="#v:compBlank" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compAnchored" class="def">compAnchored</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compAnchored" class="link">Source</a> <a href="#v:compAnchored" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compAutoCallout" class="def">compAutoCallout</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compAutoCallout" class="link">Source</a> <a href="#v:compAutoCallout" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compCaseless" class="def">compCaseless</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compCaseless" class="link">Source</a> <a href="#v:compCaseless" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compDollarEndOnly" class="def">compDollarEndOnly</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compDollarEndOnly" class="link">Source</a> <a href="#v:compDollarEndOnly" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compDotAll" class="def">compDotAll</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compDotAll" class="link">Source</a> <a href="#v:compDotAll" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compExtended" class="def">compExtended</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compExtended" class="link">Source</a> <a href="#v:compExtended" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compExtra" class="def">compExtra</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compExtra" class="link">Source</a> <a href="#v:compExtra" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compFirstLine" class="def">compFirstLine</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compFirstLine" class="link">Source</a> <a href="#v:compFirstLine" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compMultiline" class="def">compMultiline</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compMultiline" class="link">Source</a> <a href="#v:compMultiline" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compNoAutoCapture" class="def">compNoAutoCapture</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compNoAutoCapture" class="link">Source</a> <a href="#v:compNoAutoCapture" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compUngreedy" class="def">compUngreedy</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compUngreedy" class="link">Source</a> <a href="#v:compUngreedy" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compUTF8" class="def">compUTF8</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compUTF8" class="link">Source</a> <a href="#v:compUTF8" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:compNoUTF8Check" class="def">compNoUTF8Check</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:CompOption">CompOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#compNoUTF8Check" class="link">Source</a> <a href="#v:compNoUTF8Check" class="selflink">#</a></p></div><h2 id="g:5">ExecOption values</h2><div class="top"><p class="src"><a id="v:execBlank" class="def">execBlank</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#execBlank" class="link">Source</a> <a href="#v:execBlank" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:execAnchored" class="def">execAnchored</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#execAnchored" class="link">Source</a> <a href="#v:execAnchored" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:execNotBOL" class="def">execNotBOL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#execNotBOL" class="link">Source</a> <a href="#v:execNotBOL" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:execNotEOL" class="def">execNotEOL</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#execNotEOL" class="link">Source</a> <a href="#v:execNotEOL" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:execNotEmpty" class="def">execNotEmpty</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#execNotEmpty" class="link">Source</a> <a href="#v:execNotEmpty" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:execNoUTF8Check" class="def">execNoUTF8Check</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#execNoUTF8Check" class="link">Source</a> <a href="#v:execNoUTF8Check" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:execPartial" class="def">execPartial</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ExecOption">ExecOption</a> <a href="src/Text-Regex-PCRE-Wrap.html#execPartial" class="link">Source</a> <a href="#v:execPartial" class="selflink">#</a></p></div><h2 id="g:6">ReturnCode values</h2><div class="top"><p class="src"><a id="v:retOk" class="def">retOk</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retOk" class="link">Source</a> <a href="#v:retOk" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:retNoMatch" class="def">retNoMatch</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retNoMatch" class="link">Source</a> <a href="#v:retNoMatch" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:retNull" class="def">retNull</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retNull" class="link">Source</a> <a href="#v:retNull" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:retBadOption" class="def">retBadOption</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retBadOption" class="link">Source</a> <a href="#v:retBadOption" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:retBadMagic" class="def">retBadMagic</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retBadMagic" class="link">Source</a> <a href="#v:retBadMagic" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:retUnknownNode" class="def">retUnknownNode</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retUnknownNode" class="link">Source</a> <a href="#v:retUnknownNode" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:retNoMemory" class="def">retNoMemory</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retNoMemory" class="link">Source</a> <a href="#v:retNoMemory" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:retNoSubstring" class="def">retNoSubstring</a> :: <a href="Text-Regex-PCRE-Wrap.html#t:ReturnCode">ReturnCode</a> <a href="src/Text-Regex-PCRE-Wrap.html#retNoSubstring" class="link">Source</a> <a href="#v:retNoSubstring" class="selflink">#</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>