<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="URe.html"> <link rel="next" href="USet.html"> <link rel="Up" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="CaseMap" rel="Chapter" href="CaseMap.html"> <link title="CharEncoding" rel="Chapter" href="CharEncoding.html"> <link title="Default" rel="Chapter" href="Default.html"> <link title="IMap" rel="Chapter" href="IMap.html"> <link title="ISet" rel="Chapter" href="ISet.html"> <link title="Locale" rel="Chapter" href="Locale.html"> <link title="Main" rel="Chapter" href="Main.html"> <link title="OOChannel" rel="Chapter" href="OOChannel.html"> <link title="SubText" rel="Chapter" href="SubText.html"> <link title="UCS4" rel="Chapter" href="UCS4.html"> <link title="UChar" rel="Chapter" href="UChar.html"> <link title="UCharInfo" rel="Chapter" href="UCharInfo.html"> <link title="UCharTbl" rel="Chapter" href="UCharTbl.html"> <link title="UCol" rel="Chapter" href="UCol.html"> <link title="ULine" rel="Chapter" href="ULine.html"> <link title="UMap" rel="Chapter" href="UMap.html"> <link title="UNF" rel="Chapter" href="UNF.html"> <link title="UPervasives" rel="Chapter" href="UPervasives.html"> <link title="URe" rel="Chapter" href="URe.html"> <link title="UReStr" rel="Chapter" href="UReStr.html"> <link title="USet" rel="Chapter" href="USet.html"> <link title="UTF16" rel="Chapter" href="UTF16.html"> <link title="UTF8" rel="Chapter" href="UTF8.html"> <link title="UText" rel="Chapter" href="UText.html"> <link title="UnicodeString" rel="Chapter" href="UnicodeString.html"> <link title="XArray" rel="Chapter" href="XArray.html"> <link title="XString" rel="Chapter" href="XString.html"><title>UReStr</title> </head> <body> <div class="navbar"><a href="URe.html">Previous</a> <a href="index.html">Up</a> <a href="USet.html">Next</a> </div> <center><h1>Module <a href="type_UReStr.html">UReStr</a></h1></center> <br> <pre><span class="keyword">module</span> UReStr: <code class="code">sig</code> <a href="UReStr.html">..</a> <code class="code">end</code></pre>Module for a Str-like regular expression syntax. The difference can be summarised as follows.<ul> <li>Non-ASCII characters can be used if encoded by UTF-8, or using the escape syntax \u<code number as hex digits>.</li> <li>Each Unicode character is treated as a single character.</li> <li>Character properties like Lu (<code class="code">UCharInfo.general_category_type</code>), White_Space (<code class="code">UCharInfo.character_property_type</code>), Ogham (<code class="code">UCharInfo.script_type</code>) can be used in character sets. e.g. [{Lu & ID_Start}][{ID_Continue}]* (capitalised identifier), \([{Han}]+\|[{Katakana}]+\)[{Hiragana}]* (Japanese word component). Boolean notations as | (or) :, & (and) - (set subtraction) can be used in {...} notations. Any is used to denote the set of all characters in {...} notations.</li> </ul> <br> <hr width="100%"> <pre><span class="keyword">module type</span> <a href="UReStr.Interface.html">Interface</a> = <code class="code">sig</code> <a href="UReStr.Interface.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">module</span> <a href="UReStr.Configure.html">Configure</a>: <div class="sig_block"><code class="code">functor (</code><code class="code">Config</code><code class="code"> : </code><code class="type">ConfigInt.Type</code><code class="code">) -> </code><code class="type"><a href="UReStr.Interface.html">Interface</a></code><code class="type"> </code></div></pre></body></html>