<!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 4.8.1.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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </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 4.8.1.1  <span id="projectnumber">4.8.1.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <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="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </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> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </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-2011, 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> <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="l00057"></a><span class="lineno"> 57</span> </div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">// Forward Declarations...</span></div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">class </span><a class="code" href="classRegexMatcher.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="l00062"></a><span class="lineno"> 62</span> <span class="keyword">class </span><a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>;</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">class </span>UVector;</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">class </span>UVector32;</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">class </span>UVector64;</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">class </span><a class="code" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">UnicodeSet</a>;</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">struct </span>REStackFrame;</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">struct </span>Regex8BitSet;</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">class </span><a class="code" href="classRuleBasedBreakIterator.html" title="A subclass of BreakIterator whose behavior is specified using a list of rules.">RuleBasedBreakIterator</a>;</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">class </span>RegexCImpl;</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#ifdef REGEX_DEBUG</span></div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</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> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</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> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *pat);</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor">#else</span></div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor"></span><span class="preprocessor"> #undef RegexPatternDump</span></div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="regex_8h.html#adb99cedafe6d353311aac44514f846be"> 84</a></span> <span class="preprocessor"></span><span class="preprocessor"> #define RegexPatternDump(pat)</span></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div> <div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="classRegexPattern.html"> 100</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="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>: <span class="keyword">public</span> <a class="code" href="classUObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>();</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>(<span class="keyword">const</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &source);</div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">virtual</span> ~<a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>();</div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="stringpiece_8h.html#a7652049cbac0bfeae2cd2aa4514a3352" title="Global operator == for StringPiece.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div> <div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="classRegexPattern.html#a881d8d89c3c5859420874e5a62d21be6"> 145</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="classRegexPattern.html#a881d8d89c3c5859420874e5a62d21be6" title="Comparison operator.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classRegexPattern.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="stringpiece_8h.html#a7652049cbac0bfeae2cd2aa4514a3352" title="Global operator == for StringPiece.">operator ==</a>(that);}</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &operator =(<span class="keyword">const</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &source);</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *clone() <span class="keyword">const</span>;</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">static</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> compile( <span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l00189"></a><span class="lineno"> 189</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="l00190"></a><span class="lineno"> 190</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="l00191"></a><span class="lineno"> 191</span> </div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">static</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> compile( <a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</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="l00221"></a><span class="lineno"> 221</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="l00222"></a><span class="lineno"> 222</span> </div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keyword">static</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> compile( <span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l00248"></a><span class="lineno"> 248</span>  uint32_t flags,</div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</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="l00250"></a><span class="lineno"> 250</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="l00251"></a><span class="lineno"> 251</span>  </div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keyword">static</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> compile( <a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  uint32_t flags,</div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</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="l00282"></a><span class="lineno"> 282</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="l00283"></a><span class="lineno"> 283</span>  </div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keyword">static</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> compile( <span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l00308"></a><span class="lineno"> 308</span>  uint32_t flags,</div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</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="l00310"></a><span class="lineno"> 310</span> </div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> </div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keyword">static</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> compile( <a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  uint32_t flags,</div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</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="l00339"></a><span class="lineno"> 339</span>  </div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="keyword">virtual</span> uint32_t flags() <span class="keyword">const</span>;</div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="classUnicodeString.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="l00366"></a><span class="lineno"> 366</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="l00367"></a><span class="lineno"> 367</span>  </div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <a class="code" href="classRegexMatcher.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 wchar_t if that is 16 bits wide; always assumed to be unsigned.">UChar</a> *input,</div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</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="l00384"></a><span class="lineno"> 384</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span> </div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l00399"></a><span class="lineno"> 399</span> </div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span> </div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keyword">static</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> matches(<span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l00416"></a><span class="lineno"> 416</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l00417"></a><span class="lineno"> 417</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="l00418"></a><span class="lineno"> 418</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="l00419"></a><span class="lineno"> 419</span> </div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span> </div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keyword">static</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> matches(<a class="code" href="structUText.html" title="UText struct.">UText</a> *regex,</div> <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *input,</div> <div class="line"><a name="l00437"></a><span class="lineno"> 437</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="l00438"></a><span class="lineno"> 438</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="l00439"></a><span class="lineno"> 439</span> </div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span> </div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.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="l00450"></a><span class="lineno"> 450</span>  </div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  </div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</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="l00463"></a><span class="lineno"> 463</span> </div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div> <div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="keyword">virtual</span> int32_t split(<span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l00504"></a><span class="lineno"> 504</span>  <a class="code" href="classUnicodeString.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="l00505"></a><span class="lineno"> 505</span>  int32_t destCapacity,</div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</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="l00507"></a><span class="lineno"> 507</span> </div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span> </div> <div class="line"><a name="l00547"></a><span class="lineno"> 547</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="l00548"></a><span class="lineno"> 548</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest[],</div> <div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  int32_t destCapacity,</div> <div class="line"><a name="l00550"></a><span class="lineno"> 550</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="l00551"></a><span class="lineno"> 551</span> </div> <div class="line"><a name="l00552"></a><span class="lineno"> 552</span> </div> <div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">UClassID</a> <a class="code" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262" 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="l00559"></a><span class="lineno"> 559</span> </div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <span class="keyword">static</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID();</div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span> </div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  <span class="comment">//</span></div> <div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <span class="comment">// Implementation Data</span></div> <div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  <span class="comment">//</span></div> <div class="line"><a name="l00571"></a><span class="lineno"> 571</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="l00572"></a><span class="lineno"> 572</span>  <a class="code" href="classUnicodeString.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="l00573"></a><span class="lineno"> 573</span>  uint32_t fFlags; <span class="comment">// The flags used when compiling the pattern.</span></div> <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  <span class="comment">//</span></div> <div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  UVector64 *fCompiledPat; <span class="comment">// The compiled pattern p-code.</span></div> <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  <a class="code" href="classUnicodeString.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="l00577"></a><span class="lineno"> 577</span>  <span class="comment">// after un-escaping, for use during the match.</span></div> <div class="line"><a name="l00578"></a><span class="lineno"> 578</span> </div> <div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  UVector *fSets; <span class="comment">// Any UnicodeSets referenced from the pattern.</span></div> <div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  Regex8BitSet *fSets8; <span class="comment">// (and fast sets for latin-1 range.)</span></div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span> </div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span> </div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</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="l00584"></a><span class="lineno"> 584</span>  <span class="comment">// RegexPattern in an unusable state.</span></div> <div class="line"><a name="l00585"></a><span class="lineno"> 585</span> </div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span>  int32_t fMinMatchLen; <span class="comment">// Minimum Match Length. All matches will have length</span></div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span>  <span class="comment">// >= this value. For some patterns, this calculated</span></div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  <span class="comment">// value may be less than the true shortest</span></div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span>  <span class="comment">// possible match.</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 fFrameSize; <span class="comment">// Size of a state stack frame in the</span></div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span>  <span class="comment">// execution engine.</span></div> <div class="line"><a name="l00593"></a><span class="lineno"> 593</span> </div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  int32_t fDataSize; <span class="comment">// The size of the data needed by the pattern that</span></div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  <span class="comment">// does not go on the state stack, but has just</span></div> <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  <span class="comment">// a single copy per matcher.</span></div> <div class="line"><a name="l00597"></a><span class="lineno"> 597</span> </div> <div class="line"><a name="l00598"></a><span class="lineno"> 598</span>  UVector32 *fGroupMap; <span class="comment">// Map from capture group number to position of</span></div> <div class="line"><a name="l00599"></a><span class="lineno"> 599</span>  <span class="comment">// the group's variables in the matcher stack frame.</span></div> <div class="line"><a name="l00600"></a><span class="lineno"> 600</span> </div> <div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  int32_t fMaxCaptureDigits;</div> <div class="line"><a name="l00602"></a><span class="lineno"> 602</span> </div> <div class="line"><a name="l00603"></a><span class="lineno"> 603</span>  <a class="code" href="classUnicodeSet.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="l00604"></a><span class="lineno"> 604</span>  <span class="comment">// regex character classes, e.g. Word.</span></div> <div class="line"><a name="l00605"></a><span class="lineno"> 605</span> </div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span>  Regex8BitSet *fStaticSets8; <span class="comment">// Ptr to the static (shared) latin-1 only</span></div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>  <span class="comment">// sets for predefined regex classes.</span></div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span> </div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span>  int32_t fStartType; <span class="comment">// Info on how a match must start.</span></div> <div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  int32_t fInitialStringIdx; <span class="comment">//</span></div> <div class="line"><a name="l00611"></a><span class="lineno"> 611</span>  int32_t fInitialStringLen;</div> <div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  <a class="code" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">UnicodeSet</a> *fInitialChars;</div> <div class="line"><a name="l00613"></a><span class="lineno"> 613</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="l00614"></a><span class="lineno"> 614</span>  Regex8BitSet *fInitialChars8;</div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fNeedsAltInput;</div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span> </div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>  <span class="keyword">friend</span> <span class="keyword">class </span>RegexCompile;</div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classRegexMatcher.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="l00619"></a><span class="lineno"> 619</span>  <span class="keyword">friend</span> <span class="keyword">class </span>RegexCImpl;</div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div> <div class="line"><a name="l00621"></a><span class="lineno"> 621</span>  <span class="comment">//</span></div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span>  <span class="comment">// Implementation Methods</span></div> <div class="line"><a name="l00623"></a><span class="lineno"> 623</span>  <span class="comment">//</span></div> <div class="line"><a name="l00624"></a><span class="lineno"> 624</span>  <span class="keywordtype">void</span> init(); <span class="comment">// Common initialization, for use by constructors.</span></div> <div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  <span class="keywordtype">void</span> zap(); <span class="comment">// Common cleanup</span></div> <div class="line"><a name="l00626"></a><span class="lineno"> 626</span> <span class="preprocessor">#ifdef REGEX_DEBUG</span></div> <div class="line"><a name="l00627"></a><span class="lineno"> 627</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="l00628"></a><span class="lineno"> 628</span>  <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <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="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *);</div> <div class="line"><a name="l00629"></a><span class="lineno"> 629</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00630"></a><span class="lineno"> 630</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00631"></a><span class="lineno"> 631</span> };</div> <div class="line"><a name="l00632"></a><span class="lineno"> 632</span> </div> <div class="line"><a name="l00633"></a><span class="lineno"> 633</span> </div> <div class="line"><a name="l00634"></a><span class="lineno"> 634</span> </div> <div class="line"><a name="l00644"></a><span class="lineno"><a class="code" href="classRegexMatcher.html"> 644</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="classRegexMatcher.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="classUObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00645"></a><span class="lineno"> 645</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00646"></a><span class="lineno"> 646</span> </div> <div class="line"><a name="l00661"></a><span class="lineno"> 661</span>  <a class="code" href="classRegexMatcher.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="classUnicodeString.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="l00662"></a><span class="lineno"> 662</span> </div> <div class="line"><a name="l00678"></a><span class="lineno"> 678</span>  <a class="code" href="classRegexMatcher.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="l00679"></a><span class="lineno"> 679</span>  </div> <div class="line"><a name="l00701"></a><span class="lineno"> 701</span>  <a class="code" href="classRegexMatcher.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="classUnicodeString.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="classUnicodeString.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="l00702"></a><span class="lineno"> 702</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="l00703"></a><span class="lineno"> 703</span> </div> <div class="line"><a name="l00725"></a><span class="lineno"> 725</span>  <a class="code" href="classRegexMatcher.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="l00726"></a><span class="lineno"> 726</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="l00727"></a><span class="lineno"> 727</span> </div> <div class="line"><a name="l00728"></a><span class="lineno"> 728</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00742"></a><span class="lineno"> 742</span>  <a class="code" href="classRegexMatcher.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="classUnicodeString.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 wchar_t if that is 16 bits wide; always assumed to be unsigned.">UChar</a> *input,</div> <div class="line"><a name="l00743"></a><span class="lineno"> 743</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="l00744"></a><span class="lineno"> 744</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00745"></a><span class="lineno"> 745</span> </div> <div class="line"><a name="l00746"></a><span class="lineno"> 746</span> </div> <div class="line"><a name="l00752"></a><span class="lineno"> 752</span>  <span class="keyword">virtual</span> ~<a class="code" href="classRegexMatcher.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="l00753"></a><span class="lineno"> 753</span> </div> <div class="line"><a name="l00754"></a><span class="lineno"> 754</span> </div> <div class="line"><a name="l00761"></a><span class="lineno"> 761</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="l00762"></a><span class="lineno"> 762</span> </div> <div class="line"><a name="l00763"></a><span class="lineno"> 763</span> </div> <div class="line"><a name="l00774"></a><span class="lineno"> 774</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="l00775"></a><span class="lineno"> 775</span> </div> <div class="line"><a name="l00776"></a><span class="lineno"> 776</span> </div> <div class="line"><a name="l00790"></a><span class="lineno"> 790</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="l00791"></a><span class="lineno"> 791</span> </div> <div class="line"><a name="l00792"></a><span class="lineno"> 792</span> </div> <div class="line"><a name="l00806"></a><span class="lineno"> 806</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="l00807"></a><span class="lineno"> 807</span> </div> <div class="line"><a name="l00808"></a><span class="lineno"> 808</span> </div> <div class="line"><a name="l00821"></a><span class="lineno"> 821</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="l00822"></a><span class="lineno"> 822</span> </div> <div class="line"><a name="l00823"></a><span class="lineno"> 823</span> </div> <div class="line"><a name="l00833"></a><span class="lineno"> 833</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="l00834"></a><span class="lineno"> 834</span> </div> <div class="line"><a name="l00835"></a><span class="lineno"> 835</span> </div> <div class="line"><a name="l00845"></a><span class="lineno"> 845</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.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="l00846"></a><span class="lineno"> 846</span> </div> <div class="line"><a name="l00847"></a><span class="lineno"> 847</span> </div> <div class="line"><a name="l00860"></a><span class="lineno"> 860</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.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="l00861"></a><span class="lineno"> 861</span> </div> <div class="line"><a name="l00862"></a><span class="lineno"> 862</span> </div> <div class="line"><a name="l00868"></a><span class="lineno"> 868</span>  <span class="keyword">virtual</span> int32_t groupCount() <span class="keyword">const</span>;</div> <div class="line"><a name="l00869"></a><span class="lineno"> 869</span> </div> <div class="line"><a name="l00870"></a><span class="lineno"> 870</span> </div> <div class="line"><a name="l00885"></a><span class="lineno"> 885</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="l00886"></a><span class="lineno"> 886</span> </div> <div class="line"><a name="l00902"></a><span class="lineno"> 902</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="l00903"></a><span class="lineno"> 903</span> </div> <div class="line"><a name="l00919"></a><span class="lineno"> 919</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="l00920"></a><span class="lineno"> 920</span> </div> <div class="line"><a name="l00921"></a><span class="lineno"> 921</span> </div> <div class="line"><a name="l00929"></a><span class="lineno"> 929</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="l00930"></a><span class="lineno"> 930</span> </div> <div class="line"><a name="l00938"></a><span class="lineno"> 938</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="l00939"></a><span class="lineno"> 939</span> </div> <div class="line"><a name="l00940"></a><span class="lineno"> 940</span> </div> <div class="line"><a name="l00954"></a><span class="lineno"> 954</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="l00955"></a><span class="lineno"> 955</span> </div> <div class="line"><a name="l00969"></a><span class="lineno"> 969</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="l00970"></a><span class="lineno"> 970</span> </div> <div class="line"><a name="l00971"></a><span class="lineno"> 971</span> </div> <div class="line"><a name="l00985"></a><span class="lineno"> 985</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="l00986"></a><span class="lineno"> 986</span> </div> <div class="line"><a name="l01000"></a><span class="lineno"> 1000</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="l01001"></a><span class="lineno"> 1001</span> </div> <div class="line"><a name="l01002"></a><span class="lineno"> 1002</span> </div> <div class="line"><a name="l01020"></a><span class="lineno"> 1020</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="l01021"></a><span class="lineno"> 1021</span> </div> <div class="line"><a name="l01039"></a><span class="lineno"> 1039</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="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="l01050"></a><span class="lineno"> 1050</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01051"></a><span class="lineno"> 1051</span> </div> <div class="line"><a name="l01052"></a><span class="lineno"> 1052</span> </div> <div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01069"></a><span class="lineno"> 1069</span> </div> <div class="line"><a name="l01070"></a><span class="lineno"> 1070</span> </div> <div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="classUnicodeString.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="l01089"></a><span class="lineno"> 1089</span> </div> <div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> </div> <div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01105"></a><span class="lineno"> 1105</span> </div> <div class="line"><a name="l01106"></a><span class="lineno"> 1106</span> </div> <div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01132"></a><span class="lineno"> 1132</span> </div> <div class="line"><a name="l01133"></a><span class="lineno"> 1133</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>  <a class="code" href="classRegexMatcher.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 wchar_t if that is 16 bits wide; always assumed to be unsigned.">UChar</a> *input);</div> <div class="line"><a name="l01148"></a><span class="lineno"> 1148</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l01149"></a><span class="lineno"> 1149</span> </div> <div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l01158"></a><span class="lineno"> 1158</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> *inputText() <span class="keyword">const</span>;</div> <div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>  </div> <div class="line"><a name="l01179"></a><span class="lineno"> 1179</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="l01180"></a><span class="lineno"> 1180</span>  </div> <div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> </div> <div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01201"></a><span class="lineno"> 1201</span> </div> <div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01214"></a><span class="lineno"> 1214</span> </div> <div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>  <span class="keyword">virtual</span> int32_t regionStart() <span class="keyword">const</span>;</div> <div class="line"><a name="l01224"></a><span class="lineno"> 1224</span> </div> <div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>  <span class="keyword">virtual</span> int64_t regionStart64() <span class="keyword">const</span>;</div> <div class="line"><a name="l01234"></a><span class="lineno"> 1234</span> </div> <div class="line"><a name="l01235"></a><span class="lineno"> 1235</span> </div> <div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>  <span class="keyword">virtual</span> int32_t regionEnd() <span class="keyword">const</span>;</div> <div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> </div> <div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>  <span class="keyword">virtual</span> int64_t regionEnd64() <span class="keyword">const</span>;</div> <div class="line"><a name="l01255"></a><span class="lineno"> 1255</span> </div> <div class="line"><a name="l01264"></a><span class="lineno"> 1264</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="l01265"></a><span class="lineno"> 1265</span> </div> <div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01285"></a><span class="lineno"> 1285</span> </div> <div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>  </div> <div class="line"><a name="l01294"></a><span class="lineno"> 1294</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="l01295"></a><span class="lineno"> 1295</span> </div> <div class="line"><a name="l01296"></a><span class="lineno"> 1296</span> </div> <div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01310"></a><span class="lineno"> 1310</span> </div> <div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> </div> <div class="line"><a name="l01324"></a><span class="lineno"> 1324</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="l01325"></a><span class="lineno"> 1325</span> </div> <div class="line"><a name="l01335"></a><span class="lineno"> 1335</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="l01336"></a><span class="lineno"> 1336</span> </div> <div class="line"><a name="l01337"></a><span class="lineno"> 1337</span> </div> <div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> &pattern() <span class="keyword">const</span>;</div> <div class="line"><a name="l01344"></a><span class="lineno"> 1344</span> </div> <div class="line"><a name="l01345"></a><span class="lineno"> 1345</span> </div> <div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.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="classUnicodeString.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="l01363"></a><span class="lineno"> 1363</span> </div> <div class="line"><a name="l01364"></a><span class="lineno"> 1364</span> </div> <div class="line"><a name="l01385"></a><span class="lineno"> 1385</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="l01386"></a><span class="lineno"> 1386</span>  </div> <div class="line"><a name="l01387"></a><span class="lineno"> 1387</span> </div> <div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.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="classUnicodeString.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="l01409"></a><span class="lineno"> 1409</span>  </div> <div class="line"><a name="l01410"></a><span class="lineno"> 1410</span> </div> <div class="line"><a name="l01435"></a><span class="lineno"> 1435</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="l01436"></a><span class="lineno"> 1436</span>  </div> <div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>  </div> <div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> &appendReplacement(<a class="code" href="classUnicodeString.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="l01466"></a><span class="lineno"> 1466</span>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l01467"></a><span class="lineno"> 1467</span>  </div> <div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>  </div> <div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>  <span class="keyword">virtual</span> <a class="code" href="classRegexMatcher.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="l01497"></a><span class="lineno"> 1497</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="l01498"></a><span class="lineno"> 1498</span> </div> <div class="line"><a name="l01499"></a><span class="lineno"> 1499</span> </div> <div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &appendTail(<a class="code" href="classUnicodeString.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="l01511"></a><span class="lineno"> 1511</span> </div> <div class="line"><a name="l01512"></a><span class="lineno"> 1512</span> </div> <div class="line"><a name="l01526"></a><span class="lineno"> 1526</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="l01527"></a><span class="lineno"> 1527</span> </div> <div class="line"><a name="l01528"></a><span class="lineno"> 1528</span> </div> <div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>  <span class="keyword">virtual</span> int32_t split(<span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l01553"></a><span class="lineno"> 1553</span>  <a class="code" href="classUnicodeString.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="l01554"></a><span class="lineno"> 1554</span>  int32_t destCapacity,</div> <div class="line"><a name="l01555"></a><span class="lineno"> 1555</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="l01556"></a><span class="lineno"> 1556</span> </div> <div class="line"><a name="l01557"></a><span class="lineno"> 1557</span> </div> <div class="line"><a name="l01581"></a><span class="lineno"> 1581</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="l01582"></a><span class="lineno"> 1582</span>  <a class="code" href="structUText.html" title="UText struct.">UText</a> *dest[],</div> <div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>  int32_t destCapacity,</div> <div class="line"><a name="l01584"></a><span class="lineno"> 1584</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="l01585"></a><span class="lineno"> 1585</span>  </div> <div class="line"><a name="l01607"></a><span class="lineno"> 1607</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="l01608"></a><span class="lineno"> 1608</span> </div> <div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>  <span class="keyword">virtual</span> int32_t getTimeLimit() <span class="keyword">const</span>;</div> <div class="line"><a name="l01616"></a><span class="lineno"> 1616</span> </div> <div class="line"><a name="l01638"></a><span class="lineno"> 1638</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="l01639"></a><span class="lineno"> 1639</span>  </div> <div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>  <span class="keyword">virtual</span> int32_t getStackLimit() <span class="keyword">const</span>;</div> <div class="line"><a name="l01648"></a><span class="lineno"> 1648</span> </div> <div class="line"><a name="l01649"></a><span class="lineno"> 1649</span> </div> <div class="line"><a name="l01663"></a><span class="lineno"> 1663</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="l01664"></a><span class="lineno"> 1664</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l01665"></a><span class="lineno"> 1665</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="l01666"></a><span class="lineno"> 1666</span> </div> <div class="line"><a name="l01667"></a><span class="lineno"> 1667</span> </div> <div class="line"><a name="l01678"></a><span class="lineno"> 1678</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="l01679"></a><span class="lineno"> 1679</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *&context,</div> <div class="line"><a name="l01680"></a><span class="lineno"> 1680</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="l01681"></a><span class="lineno"> 1681</span> </div> <div class="line"><a name="l01682"></a><span class="lineno"> 1682</span> </div> <div class="line"><a name="l01696"></a><span class="lineno"> 1696</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="l01697"></a><span class="lineno"> 1697</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l01698"></a><span class="lineno"> 1698</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="l01699"></a><span class="lineno"> 1699</span> </div> <div class="line"><a name="l01700"></a><span class="lineno"> 1700</span> </div> <div class="line"><a name="l01711"></a><span class="lineno"> 1711</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="l01712"></a><span class="lineno"> 1712</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *&context,</div> <div class="line"><a name="l01713"></a><span class="lineno"> 1713</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="l01714"></a><span class="lineno"> 1714</span> </div> <div class="line"><a name="l01715"></a><span class="lineno"> 1715</span> </div> <div class="line"><a name="l01721"></a><span class="lineno"> 1721</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="l01722"></a><span class="lineno"> 1722</span> </div> <div class="line"><a name="l01723"></a><span class="lineno"> 1723</span> </div> <div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>  <span class="keyword">static</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID();</div> <div class="line"><a name="l01730"></a><span class="lineno"> 1730</span> </div> <div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>  <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">UClassID</a> <a class="code" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262" 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="l01737"></a><span class="lineno"> 1737</span> </div> <div class="line"><a name="l01738"></a><span class="lineno"> 1738</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>  <span class="comment">// Constructors and other object boilerplate are private.</span></div> <div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>  <span class="comment">// Instances of RegexMatcher can not be assigned, copied, cloned, etc.</span></div> <div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>  <a class="code" href="classRegexMatcher.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="l01742"></a><span class="lineno"> 1742</span>  <a class="code" href="classRegexMatcher.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="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *pat);</div> <div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>  <a class="code" href="classRegexMatcher.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="classRegexMatcher.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="l01744"></a><span class="lineno"> 1744</span>  <a class="code" href="classRegexMatcher.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="classRegexMatcher.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="l01745"></a><span class="lineno"> 1745</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="l01746"></a><span class="lineno"> 1746</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="l01747"></a><span class="lineno"> 1747</span> </div> <div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a>;</div> <div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>  <span class="keyword">friend</span> <span class="keyword">class </span>RegexCImpl;</div> <div class="line"><a name="l01750"></a><span class="lineno"> 1750</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>  <span class="keywordtype">void</span> resetPreserveRegion(); <span class="comment">// Reset matcher state, but preserve any region.</span></div> <div class="line"><a name="l01753"></a><span class="lineno"> 1753</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l01754"></a><span class="lineno"> 1754</span> </div> <div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>  <span class="comment">//</span></div> <div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>  <span class="comment">// MatchAt This is the internal interface to the match engine itself.</span></div> <div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>  <span class="comment">// Match status comes back in matcher member variables.</span></div> <div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>  <span class="comment">//</span></div> <div class="line"><a name="l01759"></a><span class="lineno"> 1759</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="l01760"></a><span class="lineno"> 1760</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> backTrack(int64_t &inputIdx, int32_t &patIdx);</div> <div class="line"><a name="l01761"></a><span class="lineno"> 1761</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="l01762"></a><span class="lineno"> 1762</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="l01763"></a><span class="lineno"> 1763</span>  REStackFrame *resetStack();</div> <div class="line"><a name="l01764"></a><span class="lineno"> 1764</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="l01765"></a><span class="lineno"> 1765</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="l01766"></a><span class="lineno"> 1766</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="l01767"></a><span class="lineno"> 1767</span>  </div> <div class="line"><a name="l01768"></a><span class="lineno"> 1768</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="l01769"></a><span class="lineno"> 1769</span>  </div> <div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> findUsingChunk();</div> <div class="line"><a name="l01771"></a><span class="lineno"> 1771</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="l01772"></a><span class="lineno"> 1772</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="l01773"></a><span class="lineno"> 1773</span> </div> <div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>  <span class="keyword">const</span> <a class="code" href="classRegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> *fPattern;</div> <div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>  <a class="code" href="classRegexPattern.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="l01776"></a><span class="lineno"> 1776</span>  <span class="comment">// should delete it when through.</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>  <span class="keyword">const</span> <a class="code" href="classUnicodeString.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="l01779"></a><span class="lineno"> 1779</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="l01780"></a><span class="lineno"> 1780</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="l01781"></a><span class="lineno"> 1781</span>  <span class="comment">// Only created if the pattern contains backreferences.</span></div> <div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>  int64_t fInputLength; <span class="comment">// Full length of the input text.</span></div> <div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>  int32_t fFrameSize; <span class="comment">// The size of a frame in the backtrack stack.</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 fRegionStart; <span class="comment">// Start of the input region, default = 0.</span></div> <div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>  int64_t fRegionLimit; <span class="comment">// End of input region, default to input.length.</span></div> <div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>  </div> <div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>  int64_t fAnchorStart; <span class="comment">// Region bounds for anchoring operations (^ or $).</span></div> <div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>  int64_t fAnchorLimit; <span class="comment">// See useAnchoringBounds</span></div> <div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>  </div> <div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>  int64_t fLookStart; <span class="comment">// Region bounds for look-ahead/behind and</span></div> <div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>  int64_t fLookLimit; <span class="comment">// and other boundary tests. See</span></div> <div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>  <span class="comment">// useTransparentBounds</span></div> <div class="line"><a name="l01794"></a><span class="lineno"> 1794</span> </div> <div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>  int64_t fActiveStart; <span class="comment">// Currently active bounds for matching.</span></div> <div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>  int64_t fActiveLimit; <span class="comment">// Usually is the same as region, but</span></div> <div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>  <span class="comment">// is changed to fLookStart/Limit when</span></div> <div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>  <span class="comment">// entering look around regions.</span></div> <div class="line"><a name="l01799"></a><span class="lineno"> 1799</span> </div> <div class="line"><a name="l01800"></a><span class="lineno"> 1800</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="l01801"></a><span class="lineno"> 1801</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="l01802"></a><span class="lineno"> 1802</span> </div> <div class="line"><a name="l01803"></a><span class="lineno"> 1803</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="l01804"></a><span class="lineno"> 1804</span>  int64_t fMatchStart; <span class="comment">// Position of the start of the most recent match</span></div> <div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>  int64_t fMatchEnd; <span class="comment">// First position after the end of the most recent match</span></div> <div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>  <span class="comment">// Zero if no previous match, even when a region</span></div> <div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>  <span class="comment">// is active.</span></div> <div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>  int64_t fLastMatchEnd; <span class="comment">// First position after the end of the previous match,</span></div> <div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>  <span class="comment">// or -1 if there was no previous match.</span></div> <div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>  int64_t fAppendPosition; <span class="comment">// First position after the end of the previous</span></div> <div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>  <span class="comment">// appendReplacement(). As described by the</span></div> <div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>  <span class="comment">// JavaDoc for Java Matcher, where it is called </span></div> <div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>  <span class="comment">// "append position"</span></div> <div class="line"><a name="l01814"></a><span class="lineno"> 1814</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="l01815"></a><span class="lineno"> 1815</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="l01816"></a><span class="lineno"> 1816</span>  <span class="comment">// (matched $ or Z)</span></div> <div class="line"><a name="l01817"></a><span class="lineno"> 1817</span> </div> <div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>  UVector64 *fStack;</div> <div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>  REStackFrame *fFrame; <span class="comment">// After finding a match, the last active stack frame,</span></div> <div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>  <span class="comment">// which will contain the capture group results.</span></div> <div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>  <span class="comment">// NOT valid while match engine is running.</span></div> <div class="line"><a name="l01822"></a><span class="lineno"> 1822</span> </div> <div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>  int64_t *fData; <span class="comment">// Data area for use by the compiled pattern.</span></div> <div class="line"><a name="l01824"></a><span class="lineno"> 1824</span>  int64_t fSmallData[8]; <span class="comment">// Use this for data if it's enough.</span></div> <div class="line"><a name="l01825"></a><span class="lineno"> 1825</span> </div> <div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>  int32_t fTimeLimit; <span class="comment">// Max time (in arbitrary steps) to let the</span></div> <div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>  <span class="comment">// match engine run. Zero for unlimited.</span></div> <div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>  </div> <div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>  int32_t fTime; <span class="comment">// Match time, accumulates while matching.</span></div> <div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>  int32_t fTickCounter; <span class="comment">// Low bits counter for time. Counts down StateSaves.</span></div> <div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>  <span class="comment">// Kept separately from fTime to keep as much</span></div> <div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>  <span class="comment">// code as possible out of the inline</span></div> <div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>  <span class="comment">// StateSave function.</span></div> <div class="line"><a name="l01834"></a><span class="lineno"> 1834</span> </div> <div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>  int32_t fStackLimit; <span class="comment">// Maximum memory size to use for the backtrack</span></div> <div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>  <span class="comment">// stack, in bytes. Zero for unlimited.</span></div> <div class="line"><a name="l01837"></a><span class="lineno"> 1837</span> </div> <div class="line"><a name="l01838"></a><span class="lineno"> 1838</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="l01839"></a><span class="lineno"> 1839</span>  <span class="comment">// NULL if there is no callback.</span></div> <div class="line"><a name="l01840"></a><span class="lineno"> 1840</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="l01841"></a><span class="lineno"> 1841</span> </div> <div class="line"><a name="l01842"></a><span class="lineno"> 1842</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="l01843"></a><span class="lineno"> 1843</span>  <span class="comment">// NULL if there is no callback.</span></div> <div class="line"><a name="l01844"></a><span class="lineno"> 1844</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="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="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="l01848"></a><span class="lineno"> 1848</span> </div> <div class="line"><a name="l01849"></a><span class="lineno"> 1849</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="l01850"></a><span class="lineno"> 1850</span> </div> <div class="line"><a name="l01851"></a><span class="lineno"> 1851</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="l01852"></a><span class="lineno"> 1852</span>  <span class="comment">// reported, or that permanently disables this matcher.</span></div> <div class="line"><a name="l01853"></a><span class="lineno"> 1853</span> </div> <div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>  <a class="code" href="classRuleBasedBreakIterator.html" title="A subclass of BreakIterator whose behavior is specified using a list of rules.">RuleBasedBreakIterator</a> *fWordBreakItr;</div> <div class="line"><a name="l01855"></a><span class="lineno"> 1855</span> </div> <div class="line"><a name="l01856"></a><span class="lineno"> 1856</span> </div> <div class="line"><a name="l01857"></a><span class="lineno"> 1857</span> };</div> <div class="line"><a name="l01858"></a><span class="lineno"> 1858</span> </div> <div class="line"><a name="l01859"></a><span class="lineno"> 1859</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="l01860"></a><span class="lineno"> 1860</span> <span class="preprocessor">#endif // UCONFIG_NO_REGULAR_EXPRESSIONS</span></div> <div class="line"><a name="l01861"></a><span class="lineno"> 1861</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 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>