<!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="CamomileLibrary.CaseMap.html"> <link rel="next" href="CamomileLibrary.StringPrep.html"> <link rel="Up" href="CamomileLibrary.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="CamomileLibrary" rel="Chapter" href="CamomileLibrary.html"> <link title="CamomileLibraryDefault" rel="Chapter" href="CamomileLibraryDefault.html"> <link title="CamomileLibraryDyn" rel="Chapter" href="CamomileLibraryDyn.html"><title>CamomileLibrary.UReStr</title> </head> <body> <div class="navbar"><a class="pre" href="CamomileLibrary.CaseMap.html" title="CamomileLibrary.CaseMap">Previous</a> <a class="up" href="CamomileLibrary.html" title="CamomileLibrary">Up</a> <a class="post" href="CamomileLibrary.StringPrep.html" title="CamomileLibrary.StringPrep">Next</a> </div> <h1>Module <a href="type_CamomileLibrary.UReStr.html">CamomileLibrary.UReStr</a></h1> <pre><span class="keyword">module</span> UReStr: <code class="code">sig</code> <a href="CamomileLibrary.UReStr.html">..</a> <code class="code">end</code></pre><hr width="100%"> <br> 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> <pre><span class="keyword">module type</span> <a href="CamomileLibrary.UReStr.Interface.html">Interface</a> = <code class="code">sig</code> <a href="CamomileLibrary.UReStr.Interface.html">..</a> <code class="code">end</code></pre> <pre><span class="keyword">module</span> <a href="CamomileLibrary.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"><a href="CamomileLibrary.ConfigInt.Type.html">CamomileLibrary.ConfigInt.Type</a></code><code class="code">) -> </code><code class="type"><a href="CamomileLibrary.UReStr.Interface.html">Interface</a></code><code class="type"> </code></div></pre></body></html>