<!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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 52.1: regex.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">regex.h</div> </div> </div><!--header--> <div class="contents"> <a href="regex_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 2002-2013, International Business Machines</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* file name: regex.h</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* encoding: US-ASCII</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">* indentation:4</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">*</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">* created on: 2002oct22</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* created by: Andy Heninger</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">*</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">* ICU Regular Expressions, API for C++</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">*/</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#ifndef REGEX_H</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span><span class="preprocessor">#define REGEX_H</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">//#define REGEX_DEBUG</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span></div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#if !UCONFIG_NO_REGULAR_EXPRESSIONS</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#include "<a class="code" href="uobject_8h.html" title="C++ API: Common ICU base class UObject.">unicode/uobject.h</a>"</span></div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#include "<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>"</span></div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#include "<a class="code" href="utext_8h.html" title="C API: Abstract Unicode Text API.">unicode/utext.h</a>"</span></div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>"</span></div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#include "<a class="code" href="uregex_8h.html" title="C API: Regular Expressions.">unicode/uregex.h</a>"</span></div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment">// Forward Declarations</span></div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">struct </span>Regex8BitSet;</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">class </span>RegexCImpl;</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">class </span>RegexMatcher;</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">class </span>RegexPattern;</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">struct </span>REStackFrame;</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">class </span>RuleBasedBreakIterator;</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">class </span>UnicodeSet;</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">class </span>UVector;</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">class </span>UVector32;</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">class </span>UVector64;</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#ifdef REGEX_DEBUG</span></div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"></span><a class="code" href="umachine_8h.html#a161dba69f4e479c3626793efc42f94ba" title="This is used to declare a function as an internal ICU C API.">U_INTERNAL</a> <span class="keywordtype">void</span> U_EXPORT2</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="regex_8h.html#adb99cedafe6d353311aac44514f846be" title="RBBIPatternDump Debug function, displays the compiled form of a pattern.">RegexPatternDump</a>(<span class="keyword">const</span> RegexPattern *pat);</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#else</span></div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span><span class="preprocessor"> #undef RegexPatternDump</span></div> <div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="regex_8h.html#adb99cedafe6d353311aac44514f846be"> 81</a></span> <span class="preprocessor"></span><span class="preprocessor"> #define RegexPatternDump(pat)</span></div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> <div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="classicu_1_1RegexPattern.html"> 98</a></span> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from outside...">U_I18N_API</a> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>: <span class="keyword">public</span> <a class="code" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>();</div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &source);</div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">virtual</span> ~<a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>();</div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0" title="Global operator == for StringPiece.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div> <div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="classicu_1_1RegexPattern.html#a9e1a8a8764053059be4c0b3edd128aa1"> 143</a></span>  <span class="keyword">inline</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classicu_1_1RegexPattern.html#a9e1a8a8764053059be4c0b3edd128aa1" title="Comparison operator.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>& that)<span class="keyword"> const </span>{<span class="keywordflow">return</span> ! <a class="code" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0" title="Global operator == for StringPiece.">operator ==</a>(that);}</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &operator =(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &source);</div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *clone() <span class="keyword">const</span>;</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * U_EXPORT2 compile( <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &regex,</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> &pe,</div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * U_EXPORT2 compile( <a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> &pe,</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * U_EXPORT2 compile( <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &regex,</div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  uint32_t flags,</div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> &pe,</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * U_EXPORT2 compile( <a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  uint32_t flags,</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> &pe,</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * U_EXPORT2 compile( <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &regex,</div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  uint32_t flags,</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div> <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * U_EXPORT2 compile( <a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  uint32_t flags,</div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keyword">virtual</span> uint32_t flags() <span class="keyword">const</span>;</div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> *matcher(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &input,</div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  </div> <div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> *matcher(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *input,</div> <div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span> </div> <div class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> *matcher(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span> </div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> </div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keyword">static</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> U_EXPORT2 matches(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &regex,</div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &input,</div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> &pe,</div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="keyword">static</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> U_EXPORT2 matches(<a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *input,</div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> &pe,</div> <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span> </div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> pattern() <span class="keyword">const</span>;</div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  </div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  </div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *patternText(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span> </div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span> </div> <div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="keyword">virtual</span> int32_t split(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &input,</div> <div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> dest[],</div> <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  int32_t destCapacity,</div> <div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00497"></a><span class="lineno"> 497</span> </div> <div class="line"><a name="l00498"></a><span class="lineno"> 498</span> </div> <div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  <span class="keyword">virtual</span> int32_t split(<a class="code" href="structUText.html" title="UText struct.">UText</a> *input,</div> <div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest[],</div> <div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  int32_t destCapacity,</div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span> </div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span> </div> <div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  <span class="keyword">virtual</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> <a class="code" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc" title="ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.">getDynamicClassID</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00549"></a><span class="lineno"> 549</span> </div> <div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  <span class="keyword">static</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> U_EXPORT2 getStaticClassID();</div> <div class="line"><a name="l00556"></a><span class="lineno"> 556</span> </div> <div class="line"><a name="l00557"></a><span class="lineno"> 557</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  <span class="comment">//</span></div> <div class="line"><a name="l00559"></a><span class="lineno"> 559</span>  <span class="comment">// Implementation Data</span></div> <div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  <span class="comment">//</span></div> <div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *fPattern; <span class="comment">// The original pattern string.</span></div> <div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> *fPatternString; <span class="comment">// The original pattern UncodeString if relevant</span></div> <div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  uint32_t fFlags; <span class="comment">// The flags used when compiling the pattern.</span></div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  <span class="comment">//</span></div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  UVector64 *fCompiledPat; <span class="comment">// The compiled pattern p-code.</span></div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> fLiteralText; <span class="comment">// Any literal string data from the pattern,</span></div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  <span class="comment">// after un-escaping, for use during the match.</span></div> <div class="line"><a name="l00568"></a><span class="lineno"> 568</span> </div> <div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  UVector *fSets; <span class="comment">// Any UnicodeSets referenced from the pattern.</span></div> <div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  Regex8BitSet *fSets8; <span class="comment">// (and fast sets for latin-1 range.)</span></div> <div class="line"><a name="l00571"></a><span class="lineno"> 571</span> </div> <div class="line"><a name="l00572"></a><span class="lineno"> 572</span> </div> <div class="line"><a name="l00573"></a><span class="lineno"> 573</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> fDeferredStatus; <span class="comment">// status if some prior error has left this</span></div> <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  <span class="comment">// RegexPattern in an unusable state.</span></div> <div class="line"><a name="l00575"></a><span class="lineno"> 575</span> </div> <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  int32_t fMinMatchLen; <span class="comment">// Minimum Match Length. All matches will have length</span></div> <div class="line"><a name="l00577"></a><span class="lineno"> 577</span>  <span class="comment">// >= this value. For some patterns, this calculated</span></div> <div class="line"><a name="l00578"></a><span class="lineno"> 578</span>  <span class="comment">// value may be less than the true shortest</span></div> <div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  <span class="comment">// possible match.</span></div> <div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  </div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  int32_t fFrameSize; <span class="comment">// Size of a state stack frame in the</span></div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <span class="comment">// execution engine.</span></div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span> </div> <div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  int32_t fDataSize; <span class="comment">// The size of the data needed by the pattern that</span></div> <div class="line"><a name="l00585"></a><span class="lineno"> 585</span>  <span class="comment">// does not go on the state stack, but has just</span></div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span>  <span class="comment">// a single copy per matcher.</span></div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span> </div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  UVector32 *fGroupMap; <span class="comment">// Map from capture group number to position of</span></div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span>  <span class="comment">// the group's variables in the matcher stack frame.</span></div> <div class="line"><a name="l00590"></a><span class="lineno"> 590</span> </div> <div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  int32_t fMaxCaptureDigits;</div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span> </div> <div class="line"><a name="l00593"></a><span class="lineno"> 593</span>  <a class="code" href="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">UnicodeSet</a> **fStaticSets; <span class="comment">// Ptr to static (shared) sets for predefined</span></div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  <span class="comment">// regex character classes, e.g. Word.</span></div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span> </div> <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  Regex8BitSet *fStaticSets8; <span class="comment">// Ptr to the static (shared) latin-1 only</span></div> <div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  <span class="comment">// sets for predefined regex classes.</span></div> <div class="line"><a name="l00598"></a><span class="lineno"> 598</span> </div> <div class="line"><a name="l00599"></a><span class="lineno"> 599</span>  int32_t fStartType; <span class="comment">// Info on how a match must start.</span></div> <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  int32_t fInitialStringIdx; <span class="comment">//</span></div> <div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  int32_t fInitialStringLen;</div> <div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  <a class="code" href="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">UnicodeSet</a> *fInitialChars;</div> <div class="line"><a name="l00603"></a><span class="lineno"> 603</span>  <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> fInitialChar;</div> <div class="line"><a name="l00604"></a><span class="lineno"> 604</span>  Regex8BitSet *fInitialChars8;</div> <div class="line"><a name="l00605"></a><span class="lineno"> 605</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fNeedsAltInput;</div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span> </div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>  <span class="keyword">friend</span> <span class="keyword">class </span>RegexCompile;</div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>;</div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span>  <span class="keyword">friend</span> <span class="keyword">class </span>RegexCImpl;</div> <div class="line"><a name="l00610"></a><span class="lineno"> 610</span> </div> <div class="line"><a name="l00611"></a><span class="lineno"> 611</span>  <span class="comment">//</span></div> <div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  <span class="comment">// Implementation Methods</span></div> <div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <span class="comment">//</span></div> <div class="line"><a name="l00614"></a><span class="lineno"> 614</span>  <span class="keywordtype">void</span> init(); <span class="comment">// Common initialization, for use by constructors.</span></div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  <span class="keywordtype">void</span> zap(); <span class="comment">// Common cleanup</span></div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span> <span class="preprocessor">#ifdef REGEX_DEBUG</span></div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span> <span class="preprocessor"></span> <span class="keywordtype">void</span> dumpOp(int32_t index) <span class="keyword">const</span>;</div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  <span class="keyword">friend</span> <span class="keywordtype">void</span> U_EXPORT2 <a class="code" href="regex_8h.html#adb99cedafe6d353311aac44514f846be" title="RBBIPatternDump Debug function, displays the compiled form of a pattern.">RegexPatternDump</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *);</div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00621"></a><span class="lineno"> 621</span> };</div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span> </div> <div class="line"><a name="l00623"></a><span class="lineno"> 623</span> </div> <div class="line"><a name="l00624"></a><span class="lineno"> 624</span> </div> <div class="line"><a name="l00634"></a><span class="lineno"><a class="code" href="classicu_1_1RegexMatcher.html"> 634</a></span> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from outside...">U_I18N_API</a> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>: <span class="keyword">public</span> <a class="code" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00636"></a><span class="lineno"> 636</span> </div> <div class="line"><a name="l00651"></a><span class="lineno"> 651</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &regexp, uint32_t flags, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00652"></a><span class="lineno"> 652</span> </div> <div class="line"><a name="l00668"></a><span class="lineno"> 668</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *regexp, uint32_t flags, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00669"></a><span class="lineno"> 669</span> </div> <div class="line"><a name="l00691"></a><span class="lineno"> 691</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &regexp, <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &input,</div> <div class="line"><a name="l00692"></a><span class="lineno"> 692</span>  uint32_t flags, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00693"></a><span class="lineno"> 693</span> </div> <div class="line"><a name="l00715"></a><span class="lineno"> 715</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *regexp, <a class="code" href="structUText.html" title="UText struct.">UText</a> *input,</div> <div class="line"><a name="l00716"></a><span class="lineno"> 716</span>  uint32_t flags, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00717"></a><span class="lineno"> 717</span> </div> <div class="line"><a name="l00718"></a><span class="lineno"> 718</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00731"></a><span class="lineno"> 731</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &regexp, <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *input,</div> <div class="line"><a name="l00732"></a><span class="lineno"> 732</span>  uint32_t flags, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00733"></a><span class="lineno"> 733</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00734"></a><span class="lineno"> 734</span> </div> <div class="line"><a name="l00735"></a><span class="lineno"> 735</span> </div> <div class="line"><a name="l00741"></a><span class="lineno"> 741</span>  <span class="keyword">virtual</span> ~<a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>();</div> <div class="line"><a name="l00742"></a><span class="lineno"> 742</span> </div> <div class="line"><a name="l00743"></a><span class="lineno"> 743</span> </div> <div class="line"><a name="l00750"></a><span class="lineno"> 750</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> matches(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00751"></a><span class="lineno"> 751</span> </div> <div class="line"><a name="l00752"></a><span class="lineno"> 752</span> </div> <div class="line"><a name="l00763"></a><span class="lineno"> 763</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> matches(int64_t startIndex, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00764"></a><span class="lineno"> 764</span> </div> <div class="line"><a name="l00765"></a><span class="lineno"> 765</span> </div> <div class="line"><a name="l00779"></a><span class="lineno"> 779</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> lookingAt(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00780"></a><span class="lineno"> 780</span> </div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</span> </div> <div class="line"><a name="l00795"></a><span class="lineno"> 795</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> lookingAt(int64_t startIndex, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00796"></a><span class="lineno"> 796</span> </div> <div class="line"><a name="l00797"></a><span class="lineno"> 797</span> </div> <div class="line"><a name="l00810"></a><span class="lineno"> 810</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> find();</div> <div class="line"><a name="l00811"></a><span class="lineno"> 811</span> </div> <div class="line"><a name="l00812"></a><span class="lineno"> 812</span> </div> <div class="line"><a name="l00822"></a><span class="lineno"> 822</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> find(int64_t start, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l00823"></a><span class="lineno"> 823</span> </div> <div class="line"><a name="l00824"></a><span class="lineno"> 824</span> </div> <div class="line"><a name="l00834"></a><span class="lineno"> 834</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> group(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00835"></a><span class="lineno"> 835</span> </div> <div class="line"><a name="l00836"></a><span class="lineno"> 836</span> </div> <div class="line"><a name="l00849"></a><span class="lineno"> 849</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> group(int32_t groupNum, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00850"></a><span class="lineno"> 850</span> </div> <div class="line"><a name="l00851"></a><span class="lineno"> 851</span> </div> <div class="line"><a name="l00857"></a><span class="lineno"> 857</span>  <span class="keyword">virtual</span> int32_t groupCount() <span class="keyword">const</span>;</div> <div class="line"><a name="l00858"></a><span class="lineno"> 858</span> </div> <div class="line"><a name="l00859"></a><span class="lineno"> 859</span> </div> <div class="line"><a name="l00874"></a><span class="lineno"> 874</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *group(<a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, int64_t &group_len, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>; </div> <div class="line"><a name="l00875"></a><span class="lineno"> 875</span> </div> <div class="line"><a name="l00891"></a><span class="lineno"> 891</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *group(int32_t groupNum, <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, int64_t &group_len, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00892"></a><span class="lineno"> 892</span> </div> <div class="line"><a name="l00908"></a><span class="lineno"> 908</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *group(int32_t groupNum, <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00909"></a><span class="lineno"> 909</span> </div> <div class="line"><a name="l00910"></a><span class="lineno"> 910</span> </div> <div class="line"><a name="l00918"></a><span class="lineno"> 918</span>  <span class="keyword">virtual</span> int32_t start(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00919"></a><span class="lineno"> 919</span> </div> <div class="line"><a name="l00927"></a><span class="lineno"> 927</span>  <span class="keyword">virtual</span> int64_t start64(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00928"></a><span class="lineno"> 928</span> </div> <div class="line"><a name="l00929"></a><span class="lineno"> 929</span> </div> <div class="line"><a name="l00943"></a><span class="lineno"> 943</span>  <span class="keyword">virtual</span> int32_t start(int32_t group, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00944"></a><span class="lineno"> 944</span> </div> <div class="line"><a name="l00958"></a><span class="lineno"> 958</span>  <span class="keyword">virtual</span> int64_t start64(int32_t group, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00959"></a><span class="lineno"> 959</span> </div> <div class="line"><a name="l00960"></a><span class="lineno"> 960</span> </div> <div class="line"><a name="l00974"></a><span class="lineno"> 974</span>  <span class="keyword">virtual</span> int32_t end(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00975"></a><span class="lineno"> 975</span> </div> <div class="line"><a name="l00989"></a><span class="lineno"> 989</span>  <span class="keyword">virtual</span> int64_t end64(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l00990"></a><span class="lineno"> 990</span> </div> <div class="line"><a name="l00991"></a><span class="lineno"> 991</span> </div> <div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>  <span class="keyword">virtual</span> int32_t end(int32_t group, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> </div> <div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>  <span class="keyword">virtual</span> int64_t end64(int32_t group, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l01029"></a><span class="lineno"> 1029</span> </div> <div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> </div> <div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &reset();</div> <div class="line"><a name="l01040"></a><span class="lineno"> 1040</span> </div> <div class="line"><a name="l01041"></a><span class="lineno"> 1041</span> </div> <div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &reset(int64_t index, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> </div> <div class="line"><a name="l01059"></a><span class="lineno"> 1059</span> </div> <div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &reset(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &input);</div> <div class="line"><a name="l01078"></a><span class="lineno"> 1078</span> </div> <div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> </div> <div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &reset(<a class="code" href="structUText.html" title="UText struct.">UText</a> *input);</div> <div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> </div> <div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> </div> <div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &refreshInputText(<a class="code" href="structUText.html" title="UText struct.">UText</a> *input, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01121"></a><span class="lineno"> 1121</span> </div> <div class="line"><a name="l01122"></a><span class="lineno"> 1122</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &reset(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *input);</div> <div class="line"><a name="l01136"></a><span class="lineno"> 1136</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l01137"></a><span class="lineno"> 1137</span> </div> <div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &input() <span class="keyword">const</span>;</div> <div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>  </div> <div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *inputText() <span class="keyword">const</span>;</div> <div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>  </div> <div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *getInput(<a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>  </div> <div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> </div> <div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &region(int64_t start, int64_t limit, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01189"></a><span class="lineno"> 1189</span> </div> <div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &region(int64_t regionStart, int64_t regionLimit, int64_t startIndex, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01202"></a><span class="lineno"> 1202</span> </div> <div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>  <span class="keyword">virtual</span> int32_t regionStart() <span class="keyword">const</span>;</div> <div class="line"><a name="l01212"></a><span class="lineno"> 1212</span> </div> <div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>  <span class="keyword">virtual</span> int64_t regionStart64() <span class="keyword">const</span>;</div> <div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> </div> <div class="line"><a name="l01223"></a><span class="lineno"> 1223</span> </div> <div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>  <span class="keyword">virtual</span> int32_t regionEnd() <span class="keyword">const</span>;</div> <div class="line"><a name="l01233"></a><span class="lineno"> 1233</span> </div> <div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>  <span class="keyword">virtual</span> int64_t regionEnd64() <span class="keyword">const</span>;</div> <div class="line"><a name="l01243"></a><span class="lineno"> 1243</span> </div> <div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> hasTransparentBounds() <span class="keyword">const</span>;</div> <div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> </div> <div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &useTransparentBounds(<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> b);</div> <div class="line"><a name="l01273"></a><span class="lineno"> 1273</span> </div> <div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>  </div> <div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> hasAnchoringBounds() <span class="keyword">const</span>;</div> <div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> </div> <div class="line"><a name="l01284"></a><span class="lineno"> 1284</span> </div> <div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &useAnchoringBounds(<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> b);</div> <div class="line"><a name="l01298"></a><span class="lineno"> 1298</span> </div> <div class="line"><a name="l01299"></a><span class="lineno"> 1299</span> </div> <div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> hitEnd() <span class="keyword">const</span>;</div> <div class="line"><a name="l01313"></a><span class="lineno"> 1313</span> </div> <div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> requireEnd() <span class="keyword">const</span>;</div> <div class="line"><a name="l01324"></a><span class="lineno"> 1324</span> </div> <div class="line"><a name="l01325"></a><span class="lineno"> 1325</span> </div> <div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &pattern() <span class="keyword">const</span>;</div> <div class="line"><a name="l01332"></a><span class="lineno"> 1332</span> </div> <div class="line"><a name="l01333"></a><span class="lineno"> 1333</span> </div> <div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> replaceAll(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &replacement, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01351"></a><span class="lineno"> 1351</span> </div> <div class="line"><a name="l01352"></a><span class="lineno"> 1352</span> </div> <div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *replaceAll(<a class="code" href="structUText.html" title="UText struct.">UText</a> *replacement, <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>  </div> <div class="line"><a name="l01375"></a><span class="lineno"> 1375</span> </div> <div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> replaceFirst(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &replacement, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>  </div> <div class="line"><a name="l01398"></a><span class="lineno"> 1398</span> </div> <div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *replaceFirst(<a class="code" href="structUText.html" title="UText struct.">UText</a> *replacement, <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>  </div> <div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>  </div> <div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &appendReplacement(<a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &dest,</div> <div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &replacement, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>  </div> <div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>  </div> <div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &appendReplacement(<a class="code" href="structUText.html" title="UText struct.">UText</a> *dest,</div> <div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *replacement, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01486"></a><span class="lineno"> 1486</span> </div> <div class="line"><a name="l01487"></a><span class="lineno"> 1487</span> </div> <div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &appendTail(<a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &dest);</div> <div class="line"><a name="l01499"></a><span class="lineno"> 1499</span> </div> <div class="line"><a name="l01500"></a><span class="lineno"> 1500</span> </div> <div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>  <span class="keyword">virtual</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *appendTail(<a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01515"></a><span class="lineno"> 1515</span> </div> <div class="line"><a name="l01516"></a><span class="lineno"> 1516</span> </div> <div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>  <span class="keyword">virtual</span> int32_t split(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &input,</div> <div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> dest[],</div> <div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>  int32_t destCapacity,</div> <div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01544"></a><span class="lineno"> 1544</span> </div> <div class="line"><a name="l01545"></a><span class="lineno"> 1545</span> </div> <div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>  <span class="keyword">virtual</span> int32_t split(<a class="code" href="structUText.html" title="UText struct.">UText</a> *input,</div> <div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest[],</div> <div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>  int32_t destCapacity,</div> <div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>  </div> <div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTimeLimit(int32_t limit, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01596"></a><span class="lineno"> 1596</span> </div> <div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>  <span class="keyword">virtual</span> int32_t getTimeLimit() <span class="keyword">const</span>;</div> <div class="line"><a name="l01604"></a><span class="lineno"> 1604</span> </div> <div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setStackLimit(int32_t limit, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>  </div> <div class="line"><a name="l01635"></a><span class="lineno"> 1635</span>  <span class="keyword">virtual</span> int32_t getStackLimit() <span class="keyword">const</span>;</div> <div class="line"><a name="l01636"></a><span class="lineno"> 1636</span> </div> <div class="line"><a name="l01637"></a><span class="lineno"> 1637</span> </div> <div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMatchCallback(<a class="code" href="uregex_8h.html#a0a86299b51ab447fdefa00f6763b44bb" title="Function pointer for a regular expression matching callback function.">URegexMatchCallback</a> *callback,</div> <div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01654"></a><span class="lineno"> 1654</span> </div> <div class="line"><a name="l01655"></a><span class="lineno"> 1655</span> </div> <div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> getMatchCallback(<a class="code" href="uregex_8h.html#a0a86299b51ab447fdefa00f6763b44bb" title="Function pointer for a regular expression matching callback function.">URegexMatchCallback</a> *&callback,</div> <div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *&context,</div> <div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01669"></a><span class="lineno"> 1669</span> </div> <div class="line"><a name="l01670"></a><span class="lineno"> 1670</span> </div> <div class="line"><a name="l01684"></a><span class="lineno"> 1684</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFindProgressCallback(<a class="code" href="uregex_8h.html#a05a1a31454add644cd2f023b7e4366c3" title="Function pointer for a regular expression find callback function.">URegexFindProgressCallback</a> *callback,</div> <div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01687"></a><span class="lineno"> 1687</span> </div> <div class="line"><a name="l01688"></a><span class="lineno"> 1688</span> </div> <div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> getFindProgressCallback(<a class="code" href="uregex_8h.html#a05a1a31454add644cd2f023b7e4366c3" title="Function pointer for a regular expression find callback function.">URegexFindProgressCallback</a> *&callback,</div> <div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *&context,</div> <div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01702"></a><span class="lineno"> 1702</span> </div> <div class="line"><a name="l01703"></a><span class="lineno"> 1703</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l01704"></a><span class="lineno"> 1704</span> <span class="preprocessor"></span></div> <div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>  <span class="keywordtype">void</span> setTrace(<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> state);</div> <div class="line"><a name="l01710"></a><span class="lineno"> 1710</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l01711"></a><span class="lineno"> 1711</span> <span class="preprocessor"></span></div> <div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>  <span class="keyword">static</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> U_EXPORT2 getStaticClassID();</div> <div class="line"><a name="l01718"></a><span class="lineno"> 1718</span> </div> <div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>  <span class="keyword">virtual</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> <a class="code" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc" title="ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.">getDynamicClassID</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l01725"></a><span class="lineno"> 1725</span> </div> <div class="line"><a name="l01726"></a><span class="lineno"> 1726</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>  <span class="comment">// Constructors and other object boilerplate are private.</span></div> <div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>  <span class="comment">// Instances of RegexMatcher can not be assigned, copied, cloned, etc.</span></div> <div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(); <span class="comment">// default constructor not implemented</span></div> <div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *pat);</div> <div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &other);</div> <div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>  <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &operator =(<span class="keyword">const</span> <a class="code" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &rhs);</div> <div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>  <span class="keywordtype">void</span> init(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status); <span class="comment">// Common initialization</span></div> <div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>  <span class="keywordtype">void</span> init2(<a class="code" href="structUText.html" title="UText struct.">UText</a> *t, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &e); <span class="comment">// Common initialization, part 2.</span></div> <div class="line"><a name="l01735"></a><span class="lineno"> 1735</span> </div> <div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>;</div> <div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>  <span class="keyword">friend</span> <span class="keyword">class </span>RegexCImpl;</div> <div class="line"><a name="l01738"></a><span class="lineno"> 1738</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l01739"></a><span class="lineno"> 1739</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l01740"></a><span class="lineno"> 1740</span> <span class="preprocessor"></span></div> <div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>  <span class="keywordtype">void</span> resetPreserveRegion(); <span class="comment">// Reset matcher state, but preserve any region.</span></div> <div class="line"><a name="l01742"></a><span class="lineno"> 1742</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l01743"></a><span class="lineno"> 1743</span> <span class="preprocessor"></span><span class="keyword">private</span>:</div> <div class="line"><a name="l01744"></a><span class="lineno"> 1744</span> </div> <div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>  <span class="comment">//</span></div> <div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>  <span class="comment">// MatchAt This is the internal interface to the match engine itself.</span></div> <div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>  <span class="comment">// Match status comes back in matcher member variables.</span></div> <div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>  <span class="comment">//</span></div> <div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>  <span class="keywordtype">void</span> MatchAt(int64_t startIdx, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> toEnd, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> backTrack(int64_t &inputIdx, int32_t &patIdx);</div> <div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isWordBoundary(int64_t pos); <span class="comment">// perform Perl-like \b test</span></div> <div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isUWordBoundary(int64_t pos); <span class="comment">// perform RBBI based \b test</span></div> <div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>  REStackFrame *resetStack();</div> <div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>  <span class="keyword">inline</span> REStackFrame *StateSave(REStackFrame *fp, int64_t savePatIdx, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>  <span class="keywordtype">void</span> IncrementTime(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> ReportFindProgress(int64_t matchIndex, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>  </div> <div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>  int64_t appendGroup(int32_t groupNum, <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status) <span class="keyword">const</span>;</div> <div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>  </div> <div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> findUsingChunk();</div> <div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>  <span class="keywordtype">void</span> MatchChunkAt(int32_t startIdx, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> toEnd, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &status);</div> <div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isChunkWordBoundary(int32_t pos);</div> <div class="line"><a name="l01763"></a><span class="lineno"> 1763</span> </div> <div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *fPattern;</div> <div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>  <a class="code" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *fPatternOwned; <span class="comment">// Non-NULL if this matcher owns the pattern, and</span></div> <div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>  <span class="comment">// should delete it when through.</span></div> <div class="line"><a name="l01767"></a><span class="lineno"> 1767</span> </div> <div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> *fInput; <span class="comment">// The string being matched. Only used for input()</span></div> <div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *fInputText; <span class="comment">// The text being matched. Is never NULL.</span></div> <div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *fAltInputText; <span class="comment">// A shallow copy of the text being matched.</span></div> <div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>  <span class="comment">// Only created if the pattern contains backreferences.</span></div> <div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>  int64_t fInputLength; <span class="comment">// Full length of the input text.</span></div> <div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>  int32_t fFrameSize; <span class="comment">// The size of a frame in the backtrack stack.</span></div> <div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>  </div> <div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>  int64_t fRegionStart; <span class="comment">// Start of the input region, default = 0.</span></div> <div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>  int64_t fRegionLimit; <span class="comment">// End of input region, default to input.length.</span></div> <div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>  </div> <div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>  int64_t fAnchorStart; <span class="comment">// Region bounds for anchoring operations (^ or $).</span></div> <div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>  int64_t fAnchorLimit; <span class="comment">// See useAnchoringBounds</span></div> <div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>  </div> <div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>  int64_t fLookStart; <span class="comment">// Region bounds for look-ahead/behind and</span></div> <div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>  int64_t fLookLimit; <span class="comment">// and other boundary tests. See</span></div> <div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>  <span class="comment">// useTransparentBounds</span></div> <div class="line"><a name="l01784"></a><span class="lineno"> 1784</span> </div> <div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>  int64_t fActiveStart; <span class="comment">// Currently active bounds for matching.</span></div> <div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>  int64_t fActiveLimit; <span class="comment">// Usually is the same as region, but</span></div> <div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>  <span class="comment">// is changed to fLookStart/Limit when</span></div> <div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>  <span class="comment">// entering look around regions.</span></div> <div class="line"><a name="l01789"></a><span class="lineno"> 1789</span> </div> <div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fTransparentBounds; <span class="comment">// True if using transparent bounds.</span></div> <div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fAnchoringBounds; <span class="comment">// True if using anchoring bounds.</span></div> <div class="line"><a name="l01792"></a><span class="lineno"> 1792</span> </div> <div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fMatch; <span class="comment">// True if the last attempted match was successful.</span></div> <div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>  int64_t fMatchStart; <span class="comment">// Position of the start of the most recent match</span></div> <div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>  int64_t fMatchEnd; <span class="comment">// First position after the end of the most recent match</span></div> <div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>  <span class="comment">// Zero if no previous match, even when a region</span></div> <div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>  <span class="comment">// is active.</span></div> <div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>  int64_t fLastMatchEnd; <span class="comment">// First position after the end of the previous match,</span></div> <div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>  <span class="comment">// or -1 if there was no previous match.</span></div> <div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>  int64_t fAppendPosition; <span class="comment">// First position after the end of the previous</span></div> <div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>  <span class="comment">// appendReplacement(). As described by the</span></div> <div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>  <span class="comment">// JavaDoc for Java Matcher, where it is called </span></div> <div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>  <span class="comment">// "append position"</span></div> <div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fHitEnd; <span class="comment">// True if the last match touched the end of input.</span></div> <div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fRequireEnd; <span class="comment">// True if the last match required end-of-input</span></div> <div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>  <span class="comment">// (matched $ or Z)</span></div> <div class="line"><a name="l01807"></a><span class="lineno"> 1807</span> </div> <div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>  UVector64 *fStack;</div> <div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>  REStackFrame *fFrame; <span class="comment">// After finding a match, the last active stack frame,</span></div> <div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>  <span class="comment">// which will contain the capture group results.</span></div> <div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>  <span class="comment">// NOT valid while match engine is running.</span></div> <div class="line"><a name="l01812"></a><span class="lineno"> 1812</span> </div> <div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>  int64_t *fData; <span class="comment">// Data area for use by the compiled pattern.</span></div> <div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>  int64_t fSmallData[8]; <span class="comment">// Use this for data if it's enough.</span></div> <div class="line"><a name="l01815"></a><span class="lineno"> 1815</span> </div> <div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>  int32_t fTimeLimit; <span class="comment">// Max time (in arbitrary steps) to let the</span></div> <div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>  <span class="comment">// match engine run. Zero for unlimited.</span></div> <div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>  </div> <div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>  int32_t fTime; <span class="comment">// Match time, accumulates while matching.</span></div> <div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>  int32_t fTickCounter; <span class="comment">// Low bits counter for time. Counts down StateSaves.</span></div> <div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>  <span class="comment">// Kept separately from fTime to keep as much</span></div> <div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>  <span class="comment">// code as possible out of the inline</span></div> <div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>  <span class="comment">// StateSave function.</span></div> <div class="line"><a name="l01824"></a><span class="lineno"> 1824</span> </div> <div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>  int32_t fStackLimit; <span class="comment">// Maximum memory size to use for the backtrack</span></div> <div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>  <span class="comment">// stack, in bytes. Zero for unlimited.</span></div> <div class="line"><a name="l01827"></a><span class="lineno"> 1827</span> </div> <div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>  <a class="code" href="uregex_8h.html#a0a86299b51ab447fdefa00f6763b44bb" title="Function pointer for a regular expression matching callback function.">URegexMatchCallback</a> *fCallbackFn; <span class="comment">// Pointer to match progress callback funct.</span></div> <div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>  <span class="comment">// NULL if there is no callback.</span></div> <div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *fCallbackContext; <span class="comment">// User Context ptr for callback function.</span></div> <div class="line"><a name="l01831"></a><span class="lineno"> 1831</span> </div> <div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>  <a class="code" href="uregex_8h.html#a05a1a31454add644cd2f023b7e4366c3" title="Function pointer for a regular expression find callback function.">URegexFindProgressCallback</a> *fFindProgressCallbackFn; <span class="comment">// Pointer to match progress callback funct.</span></div> <div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>  <span class="comment">// NULL if there is no callback.</span></div> <div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *fFindProgressCallbackContext; <span class="comment">// User Context ptr for callback function.</span></div> <div class="line"><a name="l01835"></a><span class="lineno"> 1835</span> </div> <div class="line"><a name="l01836"></a><span class="lineno"> 1836</span> </div> <div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fInputUniStrMaybeMutable; <span class="comment">// Set when fInputText wraps a UnicodeString that may be mutable - compatibility.</span></div> <div class="line"><a name="l01838"></a><span class="lineno"> 1838</span> </div> <div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fTraceDebug; <span class="comment">// Set true for debug tracing of match engine.</span></div> <div class="line"><a name="l01840"></a><span class="lineno"> 1840</span> </div> <div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> fDeferredStatus; <span class="comment">// Save error state that cannot be immediately</span></div> <div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>  <span class="comment">// reported, or that permanently disables this matcher.</span></div> <div class="line"><a name="l01843"></a><span class="lineno"> 1843</span> </div> <div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>  <a class="code" href="classicu_1_1RuleBasedBreakIterator.html" title="A subclass of BreakIterator whose behavior is specified using a list of rules.">RuleBasedBreakIterator</a> *fWordBreakItr;</div> <div class="line"><a name="l01845"></a><span class="lineno"> 1845</span> };</div> <div class="line"><a name="l01846"></a><span class="lineno"> 1846</span> </div> <div class="line"><a name="l01847"></a><span class="lineno"> 1847</span> <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a></div> <div class="line"><a name="l01848"></a><span class="lineno"> 1848</span> <span class="preprocessor">#endif // UCONFIG_NO_REGULAR_EXPRESSIONS</span></div> <div class="line"><a name="l01849"></a><span class="lineno"> 1849</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:21 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>