Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 218

icu-doc-58.2-3.mga6.noarch.rpm

<!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"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ICU 58.2: icu::RegexMatcher Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">icu::RegexMatcher Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>class <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> bundles together a regular expression pattern and input text to which the expression can be applied.  
 <a href="classicu_1_1RegexMatcher.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="regex_8h_source.html">regex.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for icu::RegexMatcher:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1RegexMatcher.png" usemap="#icu::RegexMatcher_map" alt=""/>
  <map id="icu::RegexMatcher_map" name="icu::RegexMatcher_map">
<area href="classicu_1_1UObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="icu::UObject" shape="rect" coords="0,56,117,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,117,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab756150946595cfd9ffbfcde3b5eae9f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ab756150946595cfd9ffbfcde3b5eae9f">RegexMatcher</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;regexp, uint32_t flags, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ab756150946595cfd9ffbfcde3b5eae9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression.  <a href="#ab756150946595cfd9ffbfcde3b5eae9f">More...</a><br /></td></tr>
<tr class="separator:ab756150946595cfd9ffbfcde3b5eae9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa40f9390721cd094fa0f894cd8aed381"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#aa40f9390721cd094fa0f894cd8aed381">RegexMatcher</a> (<a class="el" href="structUText.html">UText</a> *regexp, uint32_t flags, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aa40f9390721cd094fa0f894cd8aed381"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression.  <a href="#aa40f9390721cd094fa0f894cd8aed381">More...</a><br /></td></tr>
<tr class="separator:aa40f9390721cd094fa0f894cd8aed381"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64143e83054370da71a32bd934156264"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a64143e83054370da71a32bd934156264">RegexMatcher</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;regexp, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;<a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a>, uint32_t flags, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a64143e83054370da71a32bd934156264"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression.  <a href="#a64143e83054370da71a32bd934156264">More...</a><br /></td></tr>
<tr class="separator:a64143e83054370da71a32bd934156264"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50f5def8c85d0ff7d8d8004a3a5aa6bd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a50f5def8c85d0ff7d8d8004a3a5aa6bd">RegexMatcher</a> (<a class="el" href="structUText.html">UText</a> *regexp, <a class="el" href="structUText.html">UText</a> *<a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a>, uint32_t flags, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a50f5def8c85d0ff7d8d8004a3a5aa6bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression.  <a href="#a50f5def8c85d0ff7d8d8004a3a5aa6bd">More...</a><br /></td></tr>
<tr class="separator:a50f5def8c85d0ff7d8d8004a3a5aa6bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c09528fb1b417f2584d410c138daaa2"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a8c09528fb1b417f2584d410c138daaa2">~RegexMatcher</a> ()</td></tr>
<tr class="memdesc:a8c09528fb1b417f2584d410c138daaa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a8c09528fb1b417f2584d410c138daaa2">More...</a><br /></td></tr>
<tr class="separator:a8c09528fb1b417f2584d410c138daaa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabdb58b9d53092be5f5d3554c204a657"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#aabdb58b9d53092be5f5d3554c204a657">matches</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aabdb58b9d53092be5f5d3554c204a657"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to match the entire input region against the pattern.  <a href="#aabdb58b9d53092be5f5d3554c204a657">More...</a><br /></td></tr>
<tr class="separator:aabdb58b9d53092be5f5d3554c204a657"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d037cc21198ce9c439671c73eb32920"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a4d037cc21198ce9c439671c73eb32920">matches</a> (int64_t startIndex, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a4d037cc21198ce9c439671c73eb32920"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the matcher, then attempts to match the input beginning at the specified startIndex, and extending to the end of the input.  <a href="#a4d037cc21198ce9c439671c73eb32920">More...</a><br /></td></tr>
<tr class="separator:a4d037cc21198ce9c439671c73eb32920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a925fca0e51fa0e912a186a71ef6d6a46"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a925fca0e51fa0e912a186a71ef6d6a46">lookingAt</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a925fca0e51fa0e912a186a71ef6d6a46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to match the input string, starting from the beginning of the region, against the pattern.  <a href="#a925fca0e51fa0e912a186a71ef6d6a46">More...</a><br /></td></tr>
<tr class="separator:a925fca0e51fa0e912a186a71ef6d6a46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47dde8619d89b37be57ff447d384d129"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a47dde8619d89b37be57ff447d384d129">lookingAt</a> (int64_t startIndex, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a47dde8619d89b37be57ff447d384d129"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to match the input string, starting from the specified index, against the pattern.  <a href="#a47dde8619d89b37be57ff447d384d129">More...</a><br /></td></tr>
<tr class="separator:a47dde8619d89b37be57ff447d384d129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50cce379741d692b8a4edc95e3145305"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305">find</a> ()</td></tr>
<tr class="memdesc:a50cce379741d692b8a4edc95e3145305"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the next pattern match in the input string.  <a href="#a50cce379741d692b8a4edc95e3145305">More...</a><br /></td></tr>
<tr class="separator:a50cce379741d692b8a4edc95e3145305"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa31dd2acd711c1875b2402f5c940f67d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#aa31dd2acd711c1875b2402f5c940f67d">find</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aa31dd2acd711c1875b2402f5c940f67d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the next pattern match in the input string.  <a href="#aa31dd2acd711c1875b2402f5c940f67d">More...</a><br /></td></tr>
<tr class="separator:aa31dd2acd711c1875b2402f5c940f67d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9763738f99d3b49888b69d31281f917"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#af9763738f99d3b49888b69d31281f917">find</a> (int64_t <a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d">start</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:af9763738f99d3b49888b69d31281f917"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> and then attempts to find the next substring of the input string that matches the pattern, starting at the specified index.  <a href="#af9763738f99d3b49888b69d31281f917">More...</a><br /></td></tr>
<tr class="separator:af9763738f99d3b49888b69d31281f917"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a683aa73fa277fabd1fe0e5b3baf06f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f">group</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a9a683aa73fa277fabd1fe0e5b3baf06f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string containing the text matched by the previous match.  <a href="#a9a683aa73fa277fabd1fe0e5b3baf06f">More...</a><br /></td></tr>
<tr class="separator:a9a683aa73fa277fabd1fe0e5b3baf06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af260ecb37ee49cc089e03019b1a03566"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#af260ecb37ee49cc089e03019b1a03566">group</a> (int32_t groupNum, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:af260ecb37ee49cc089e03019b1a03566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string containing the text captured by the given group during the previous match operation.  <a href="#af260ecb37ee49cc089e03019b1a03566">More...</a><br /></td></tr>
<tr class="separator:af260ecb37ee49cc089e03019b1a03566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a984e4f6eba3b699a37076c8085d8f8"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a1a984e4f6eba3b699a37076c8085d8f8">groupCount</a> () const </td></tr>
<tr class="memdesc:a1a984e4f6eba3b699a37076c8085d8f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of capturing groups in this matcher's pattern.  <a href="#a1a984e4f6eba3b699a37076c8085d8f8">More...</a><br /></td></tr>
<tr class="separator:a1a984e4f6eba3b699a37076c8085d8f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adacee44a8f9f30aeb35871f8fe2c68de"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structUText.html">UText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#adacee44a8f9f30aeb35871f8fe2c68de">group</a> (<a class="el" href="structUText.html">UText</a> *dest, int64_t &amp;group_len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:adacee44a8f9f30aeb35871f8fe2c68de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a shallow clone of the entire live input string with the <a class="el" href="structUText.html" title="UText struct. ">UText</a> current native index set to the beginning of the requested group.  <a href="#adacee44a8f9f30aeb35871f8fe2c68de">More...</a><br /></td></tr>
<tr class="separator:adacee44a8f9f30aeb35871f8fe2c68de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b31e443b1f544ed38c9e351e103db73"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structUText.html">UText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a2b31e443b1f544ed38c9e351e103db73">group</a> (int32_t groupNum, <a class="el" href="structUText.html">UText</a> *dest, int64_t &amp;group_len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a2b31e443b1f544ed38c9e351e103db73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a shallow clone of the entire live input string with the <a class="el" href="structUText.html" title="UText struct. ">UText</a> current native index set to the beginning of the requested group.  <a href="#a2b31e443b1f544ed38c9e351e103db73">More...</a><br /></td></tr>
<tr class="separator:a2b31e443b1f544ed38c9e351e103db73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a676c682e93f15232778d86927fbcae0d"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d">start</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a676c682e93f15232778d86927fbcae0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the start of the text matched during the previous match operation.  <a href="#a676c682e93f15232778d86927fbcae0d">More...</a><br /></td></tr>
<tr class="separator:a676c682e93f15232778d86927fbcae0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bf6d83d6d602edf32d0d718ce60e149"><td class="memItemLeft" align="right" valign="top">virtual int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a4bf6d83d6d602edf32d0d718ce60e149">start64</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a4bf6d83d6d602edf32d0d718ce60e149"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the start of the text matched during the previous match operation.  <a href="#a4bf6d83d6d602edf32d0d718ce60e149">More...</a><br /></td></tr>
<tr class="separator:a4bf6d83d6d602edf32d0d718ce60e149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399f58f6f2516c3e61e72ae986cfa3db"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a399f58f6f2516c3e61e72ae986cfa3db">start</a> (int32_t <a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f">group</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a399f58f6f2516c3e61e72ae986cfa3db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the start of the text matched by the specified capture group during the previous match operation.  <a href="#a399f58f6f2516c3e61e72ae986cfa3db">More...</a><br /></td></tr>
<tr class="separator:a399f58f6f2516c3e61e72ae986cfa3db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46c7d1955889500f4577d729fbbf720f"><td class="memItemLeft" align="right" valign="top">virtual int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a46c7d1955889500f4577d729fbbf720f">start64</a> (int32_t <a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f">group</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a46c7d1955889500f4577d729fbbf720f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the start of the text matched by the specified capture group during the previous match operation.  <a href="#a46c7d1955889500f4577d729fbbf720f">More...</a><br /></td></tr>
<tr class="separator:a46c7d1955889500f4577d729fbbf720f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef03ce42683dc1fc7d6533d36a1d32a"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a9ef03ce42683dc1fc7d6533d36a1d32a">end</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a9ef03ce42683dc1fc7d6533d36a1d32a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the first character following the text matched during the previous match operation.  <a href="#a9ef03ce42683dc1fc7d6533d36a1d32a">More...</a><br /></td></tr>
<tr class="separator:a9ef03ce42683dc1fc7d6533d36a1d32a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f4022485716992e4f6a4eb4ff588451"><td class="memItemLeft" align="right" valign="top">virtual int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a4f4022485716992e4f6a4eb4ff588451">end64</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a4f4022485716992e4f6a4eb4ff588451"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the first character following the text matched during the previous match operation.  <a href="#a4f4022485716992e4f6a4eb4ff588451">More...</a><br /></td></tr>
<tr class="separator:a4f4022485716992e4f6a4eb4ff588451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7115dd9de27a1635d216ec3b9b04d2b5"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a7115dd9de27a1635d216ec3b9b04d2b5">end</a> (int32_t <a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f">group</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a7115dd9de27a1635d216ec3b9b04d2b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the character following the text matched by the specified capture group during the previous match operation.  <a href="#a7115dd9de27a1635d216ec3b9b04d2b5">More...</a><br /></td></tr>
<tr class="separator:a7115dd9de27a1635d216ec3b9b04d2b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae42eba3a2d43e6d2af64fe21afddffe2"><td class="memItemLeft" align="right" valign="top">virtual int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ae42eba3a2d43e6d2af64fe21afddffe2">end64</a> (int32_t <a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f">group</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ae42eba3a2d43e6d2af64fe21afddffe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index in the input string of the character following the text matched by the specified capture group during the previous match operation.  <a href="#ae42eba3a2d43e6d2af64fe21afddffe2">More...</a><br /></td></tr>
<tr class="separator:ae42eba3a2d43e6d2af64fe21afddffe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35df71c4bbc3c0ebb2249432cbad615a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a35df71c4bbc3c0ebb2249432cbad615a">reset</a> ()</td></tr>
<tr class="memdesc:a35df71c4bbc3c0ebb2249432cbad615a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets this matcher.  <a href="#a35df71c4bbc3c0ebb2249432cbad615a">More...</a><br /></td></tr>
<tr class="separator:a35df71c4bbc3c0ebb2249432cbad615a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f3a9ca7dcf0ef68757aa0daec30adfd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a9f3a9ca7dcf0ef68757aa0daec30adfd">reset</a> (int64_t index, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a9f3a9ca7dcf0ef68757aa0daec30adfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets this matcher, and set the current input position.  <a href="#a9f3a9ca7dcf0ef68757aa0daec30adfd">More...</a><br /></td></tr>
<tr class="separator:a9f3a9ca7dcf0ef68757aa0daec30adfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1359b5f397013d90b762a7ee00c1d6a5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a1359b5f397013d90b762a7ee00c1d6a5">reset</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;<a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a>)</td></tr>
<tr class="memdesc:a1359b5f397013d90b762a7ee00c1d6a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets this matcher with a new input string.  <a href="#a1359b5f397013d90b762a7ee00c1d6a5">More...</a><br /></td></tr>
<tr class="separator:a1359b5f397013d90b762a7ee00c1d6a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87f21b8f6278372faab9e91e68433fe0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a87f21b8f6278372faab9e91e68433fe0">reset</a> (<a class="el" href="structUText.html">UText</a> *<a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a>)</td></tr>
<tr class="memdesc:a87f21b8f6278372faab9e91e68433fe0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets this matcher with a new input string.  <a href="#a87f21b8f6278372faab9e91e68433fe0">More...</a><br /></td></tr>
<tr class="separator:a87f21b8f6278372faab9e91e68433fe0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a890f5bc97c6cfa520e60debd52480d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a5a890f5bc97c6cfa520e60debd52480d">refreshInputText</a> (<a class="el" href="structUText.html">UText</a> *<a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a5a890f5bc97c6cfa520e60debd52480d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the subject text string upon which the regular expression is looking for matches without changing any other aspect of the matching state.  <a href="#a5a890f5bc97c6cfa520e60debd52480d">More...</a><br /></td></tr>
<tr class="separator:a5a890f5bc97c6cfa520e60debd52480d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9719e87a2beac8961a144829536152da"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a> () const </td></tr>
<tr class="memdesc:a9719e87a2beac8961a144829536152da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the input string being matched.  <a href="#a9719e87a2beac8961a144829536152da">More...</a><br /></td></tr>
<tr class="separator:a9719e87a2beac8961a144829536152da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13c6a93682482cfb69f0fc0f2733a59e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structUText.html">UText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a13c6a93682482cfb69f0fc0f2733a59e">inputText</a> () const </td></tr>
<tr class="memdesc:a13c6a93682482cfb69f0fc0f2733a59e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the input string being matched.  <a href="#a13c6a93682482cfb69f0fc0f2733a59e">More...</a><br /></td></tr>
<tr class="separator:a13c6a93682482cfb69f0fc0f2733a59e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6da3a0ea3e445018c97a8f9519605308"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structUText.html">UText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a6da3a0ea3e445018c97a8f9519605308">getInput</a> (<a class="el" href="structUText.html">UText</a> *dest, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a6da3a0ea3e445018c97a8f9519605308"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the input string being matched, either by copying it into the provided <a class="el" href="structUText.html" title="UText struct. ">UText</a> parameter or by returning a shallow clone of the live input.  <a href="#a6da3a0ea3e445018c97a8f9519605308">More...</a><br /></td></tr>
<tr class="separator:a6da3a0ea3e445018c97a8f9519605308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a556e40af5e725121ad23944b24e0fb1b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a556e40af5e725121ad23944b24e0fb1b">region</a> (int64_t <a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d">start</a>, int64_t limit, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a556e40af5e725121ad23944b24e0fb1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the limits of this matcher's region.  <a href="#a556e40af5e725121ad23944b24e0fb1b">More...</a><br /></td></tr>
<tr class="separator:a556e40af5e725121ad23944b24e0fb1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9de12106adfa647377b756195a06c3c5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a9de12106adfa647377b756195a06c3c5">region</a> (int64_t <a class="el" href="classicu_1_1RegexMatcher.html#a1f2c1ade1a71fc51b1fb991b5657c04e">regionStart</a>, int64_t regionLimit, int64_t startIndex, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a9de12106adfa647377b756195a06c3c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Identical to region(start, limit, status) but also allows a start position without resetting the region state.  <a href="#a9de12106adfa647377b756195a06c3c5">More...</a><br /></td></tr>
<tr class="separator:a9de12106adfa647377b756195a06c3c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f2c1ade1a71fc51b1fb991b5657c04e"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a1f2c1ade1a71fc51b1fb991b5657c04e">regionStart</a> () const </td></tr>
<tr class="memdesc:a1f2c1ade1a71fc51b1fb991b5657c04e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the start index of this matcher's region.  <a href="#a1f2c1ade1a71fc51b1fb991b5657c04e">More...</a><br /></td></tr>
<tr class="separator:a1f2c1ade1a71fc51b1fb991b5657c04e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0f703f152779c526b0ba18c719aa8d4"><td class="memItemLeft" align="right" valign="top">virtual int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ae0f703f152779c526b0ba18c719aa8d4">regionStart64</a> () const </td></tr>
<tr class="memdesc:ae0f703f152779c526b0ba18c719aa8d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the start index of this matcher's region.  <a href="#ae0f703f152779c526b0ba18c719aa8d4">More...</a><br /></td></tr>
<tr class="separator:ae0f703f152779c526b0ba18c719aa8d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a791bdf5a1c12a79580dfcbefe478a0b1"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a791bdf5a1c12a79580dfcbefe478a0b1">regionEnd</a> () const </td></tr>
<tr class="memdesc:a791bdf5a1c12a79580dfcbefe478a0b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the end (limit) index (exclusive) of this matcher's region.  <a href="#a791bdf5a1c12a79580dfcbefe478a0b1">More...</a><br /></td></tr>
<tr class="separator:a791bdf5a1c12a79580dfcbefe478a0b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fe690e848196a9c7df75308c03eb372"><td class="memItemLeft" align="right" valign="top">virtual int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a4fe690e848196a9c7df75308c03eb372">regionEnd64</a> () const </td></tr>
<tr class="memdesc:a4fe690e848196a9c7df75308c03eb372"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the end (limit) index (exclusive) of this matcher's region.  <a href="#a4fe690e848196a9c7df75308c03eb372">More...</a><br /></td></tr>
<tr class="separator:a4fe690e848196a9c7df75308c03eb372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59cc306335a91db7d01d7b5fbe2fc1ff"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a59cc306335a91db7d01d7b5fbe2fc1ff">hasTransparentBounds</a> () const </td></tr>
<tr class="memdesc:a59cc306335a91db7d01d7b5fbe2fc1ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the transparency of region bounds for this matcher.  <a href="#a59cc306335a91db7d01d7b5fbe2fc1ff">More...</a><br /></td></tr>
<tr class="separator:a59cc306335a91db7d01d7b5fbe2fc1ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95501e00f15b7920f84ac3051a4a12a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ab95501e00f15b7920f84ac3051a4a12a">useTransparentBounds</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> b)</td></tr>
<tr class="memdesc:ab95501e00f15b7920f84ac3051a4a12a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the transparency of region bounds for this matcher.  <a href="#ab95501e00f15b7920f84ac3051a4a12a">More...</a><br /></td></tr>
<tr class="separator:ab95501e00f15b7920f84ac3051a4a12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6792b9268e8f77edbc1292aacadf16e8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a6792b9268e8f77edbc1292aacadf16e8">hasAnchoringBounds</a> () const </td></tr>
<tr class="memdesc:a6792b9268e8f77edbc1292aacadf16e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if this matcher is using anchoring bounds.  <a href="#a6792b9268e8f77edbc1292aacadf16e8">More...</a><br /></td></tr>
<tr class="separator:a6792b9268e8f77edbc1292aacadf16e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa92699729c82a6c9b86ce90831a9b557"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#aa92699729c82a6c9b86ce90831a9b557">useAnchoringBounds</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> b)</td></tr>
<tr class="memdesc:aa92699729c82a6c9b86ce90831a9b557"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether this matcher is using Anchoring Bounds for its region.  <a href="#aa92699729c82a6c9b86ce90831a9b557">More...</a><br /></td></tr>
<tr class="separator:aa92699729c82a6c9b86ce90831a9b557"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747a368a04079694487d60a2fc73e167"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a747a368a04079694487d60a2fc73e167">hitEnd</a> () const </td></tr>
<tr class="memdesc:a747a368a04079694487d60a2fc73e167"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return TRUE if the most recent matching operation attempted to access additional input beyond the available input text.  <a href="#a747a368a04079694487d60a2fc73e167">More...</a><br /></td></tr>
<tr class="separator:a747a368a04079694487d60a2fc73e167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add06735f154a7c22100ed6c16ca1f6d1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#add06735f154a7c22100ed6c16ca1f6d1">requireEnd</a> () const </td></tr>
<tr class="memdesc:add06735f154a7c22100ed6c16ca1f6d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return TRUE the most recent match succeeded and additional input could cause it to fail.  <a href="#add06735f154a7c22100ed6c16ca1f6d1">More...</a><br /></td></tr>
<tr class="separator:add06735f154a7c22100ed6c16ca1f6d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac56295418c654ab00ff329694a84a5d5"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ac56295418c654ab00ff329694a84a5d5">pattern</a> () const </td></tr>
<tr class="memdesc:ac56295418c654ab00ff329694a84a5d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the pattern that is interpreted by this matcher.  <a href="#ac56295418c654ab00ff329694a84a5d5">More...</a><br /></td></tr>
<tr class="separator:ac56295418c654ab00ff329694a84a5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e0194d10c2f28d8372f284dd4a5af19"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a2e0194d10c2f28d8372f284dd4a5af19">replaceAll</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;replacement, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a2e0194d10c2f28d8372f284dd4a5af19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces every substring of the input that matches the pattern with the given replacement string.  <a href="#a2e0194d10c2f28d8372f284dd4a5af19">More...</a><br /></td></tr>
<tr class="separator:a2e0194d10c2f28d8372f284dd4a5af19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9855c6225fca0aed6a37242b73b558d6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structUText.html">UText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a9855c6225fca0aed6a37242b73b558d6">replaceAll</a> (<a class="el" href="structUText.html">UText</a> *replacement, <a class="el" href="structUText.html">UText</a> *dest, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a9855c6225fca0aed6a37242b73b558d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces every substring of the input that matches the pattern with the given replacement string.  <a href="#a9855c6225fca0aed6a37242b73b558d6">More...</a><br /></td></tr>
<tr class="separator:a9855c6225fca0aed6a37242b73b558d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1672f514ae14aaddcc3e9ce16924f1b3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a1672f514ae14aaddcc3e9ce16924f1b3">replaceFirst</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;replacement, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1672f514ae14aaddcc3e9ce16924f1b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the first substring of the input that matches the pattern with the replacement string.  <a href="#a1672f514ae14aaddcc3e9ce16924f1b3">More...</a><br /></td></tr>
<tr class="separator:a1672f514ae14aaddcc3e9ce16924f1b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3efb07fcd5b4567f541c01e812e717b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structUText.html">UText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ad3efb07fcd5b4567f541c01e812e717b">replaceFirst</a> (<a class="el" href="structUText.html">UText</a> *replacement, <a class="el" href="structUText.html">UText</a> *dest, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ad3efb07fcd5b4567f541c01e812e717b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the first substring of the input that matches the pattern with the replacement string.  <a href="#ad3efb07fcd5b4567f541c01e812e717b">More...</a><br /></td></tr>
<tr class="separator:ad3efb07fcd5b4567f541c01e812e717b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabebe4aff799cf5b07d23968634112f0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#aabebe4aff799cf5b07d23968634112f0">appendReplacement</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dest, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;replacement, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aabebe4aff799cf5b07d23968634112f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements a replace operation intended to be used as part of an incremental find-and-replace.  <a href="#aabebe4aff799cf5b07d23968634112f0">More...</a><br /></td></tr>
<tr class="separator:aabebe4aff799cf5b07d23968634112f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adccbff9c1f79a187f0be2a6e8be60773"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#adccbff9c1f79a187f0be2a6e8be60773">appendReplacement</a> (<a class="el" href="structUText.html">UText</a> *dest, <a class="el" href="structUText.html">UText</a> *replacement, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:adccbff9c1f79a187f0be2a6e8be60773"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements a replace operation intended to be used as part of an incremental find-and-replace.  <a href="#adccbff9c1f79a187f0be2a6e8be60773">More...</a><br /></td></tr>
<tr class="separator:adccbff9c1f79a187f0be2a6e8be60773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a851501b95f740f97740b5ad7f0118fd6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a851501b95f740f97740b5ad7f0118fd6">appendTail</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dest)</td></tr>
<tr class="memdesc:a851501b95f740f97740b5ad7f0118fd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">As the final step in a find-and-replace operation, append the remainder of the input string, starting at the position following the last <a class="el" href="classicu_1_1RegexMatcher.html#aabebe4aff799cf5b07d23968634112f0" title="Implements a replace operation intended to be used as part of an incremental find-and-replace. ">appendReplacement()</a>, to the destination string.  <a href="#a851501b95f740f97740b5ad7f0118fd6">More...</a><br /></td></tr>
<tr class="separator:a851501b95f740f97740b5ad7f0118fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1bcd8fde1c6475f3ad761a45eb307b4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structUText.html">UText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#af1bcd8fde1c6475f3ad761a45eb307b4">appendTail</a> (<a class="el" href="structUText.html">UText</a> *dest, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:af1bcd8fde1c6475f3ad761a45eb307b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">As the final step in a find-and-replace operation, append the remainder of the input string, starting at the position following the last <a class="el" href="classicu_1_1RegexMatcher.html#aabebe4aff799cf5b07d23968634112f0" title="Implements a replace operation intended to be used as part of an incremental find-and-replace. ">appendReplacement()</a>, to the destination string.  <a href="#af1bcd8fde1c6475f3ad761a45eb307b4">More...</a><br /></td></tr>
<tr class="separator:af1bcd8fde1c6475f3ad761a45eb307b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42f6bff3830b5db5fb08a7ee6437580e"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a42f6bff3830b5db5fb08a7ee6437580e">split</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;<a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a>, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> dest[], int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a42f6bff3830b5db5fb08a7ee6437580e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Split a string into fields.  <a href="#a42f6bff3830b5db5fb08a7ee6437580e">More...</a><br /></td></tr>
<tr class="separator:a42f6bff3830b5db5fb08a7ee6437580e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab51727426a297eaefb84e90cc00bf5a1"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ab51727426a297eaefb84e90cc00bf5a1">split</a> (<a class="el" href="structUText.html">UText</a> *<a class="el" href="classicu_1_1RegexMatcher.html#a9719e87a2beac8961a144829536152da">input</a>, <a class="el" href="structUText.html">UText</a> *dest[], int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ab51727426a297eaefb84e90cc00bf5a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Split a string into fields.  <a href="#ab51727426a297eaefb84e90cc00bf5a1">More...</a><br /></td></tr>
<tr class="separator:ab51727426a297eaefb84e90cc00bf5a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ebcfcab4fe6a38678c0291643a03a00"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a6ebcfcab4fe6a38678c0291643a03a00">setTimeLimit</a> (int32_t limit, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a6ebcfcab4fe6a38678c0291643a03a00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a processing time limit for match operations with this Matcher.  <a href="#a6ebcfcab4fe6a38678c0291643a03a00">More...</a><br /></td></tr>
<tr class="separator:a6ebcfcab4fe6a38678c0291643a03a00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40029ad1034323a1d4c1b1f10d955939"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a40029ad1034323a1d4c1b1f10d955939">getTimeLimit</a> () const </td></tr>
<tr class="memdesc:a40029ad1034323a1d4c1b1f10d955939"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the time limit, if any, for match operations made with this Matcher.  <a href="#a40029ad1034323a1d4c1b1f10d955939">More...</a><br /></td></tr>
<tr class="separator:a40029ad1034323a1d4c1b1f10d955939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6fee6b970fec729961121929176f9c6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ad6fee6b970fec729961121929176f9c6">setStackLimit</a> (int32_t limit, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ad6fee6b970fec729961121929176f9c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the amount of heap storage available for use by the match backtracking stack.  <a href="#ad6fee6b970fec729961121929176f9c6">More...</a><br /></td></tr>
<tr class="separator:ad6fee6b970fec729961121929176f9c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf5dc2929950244cccf70402c6fc6433"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#aaf5dc2929950244cccf70402c6fc6433">getStackLimit</a> () const </td></tr>
<tr class="memdesc:aaf5dc2929950244cccf70402c6fc6433"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of the heap storage available for use by the back tracking stack.  <a href="#aaf5dc2929950244cccf70402c6fc6433">More...</a><br /></td></tr>
<tr class="separator:aaf5dc2929950244cccf70402c6fc6433"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71eb790976078e7adf0053813420eade"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a71eb790976078e7adf0053813420eade">setMatchCallback</a> (<a class="el" href="uregex_8h.html#a0a86299b51ab447fdefa00f6763b44bb">URegexMatchCallback</a> *callback, const void *context, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a71eb790976078e7adf0053813420eade"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a callback function for use with this Matcher.  <a href="#a71eb790976078e7adf0053813420eade">More...</a><br /></td></tr>
<tr class="separator:a71eb790976078e7adf0053813420eade"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a199e05b2b59687b7755a06a9be6b9810"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a199e05b2b59687b7755a06a9be6b9810">getMatchCallback</a> (<a class="el" href="uregex_8h.html#a0a86299b51ab447fdefa00f6763b44bb">URegexMatchCallback</a> *&amp;callback, const void *&amp;context, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a199e05b2b59687b7755a06a9be6b9810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the callback function for this URegularExpression.  <a href="#a199e05b2b59687b7755a06a9be6b9810">More...</a><br /></td></tr>
<tr class="separator:a199e05b2b59687b7755a06a9be6b9810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31a30016801e0bca6122c410dcc7864c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a31a30016801e0bca6122c410dcc7864c">setFindProgressCallback</a> (<a class="el" href="uregex_8h.html#a05a1a31454add644cd2f023b7e4366c3">URegexFindProgressCallback</a> *callback, const void *context, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a31a30016801e0bca6122c410dcc7864c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a progress callback function for use with find operations on this Matcher.  <a href="#a31a30016801e0bca6122c410dcc7864c">More...</a><br /></td></tr>
<tr class="separator:a31a30016801e0bca6122c410dcc7864c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04f337de0da92309eaa318dc1e806f6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#ae04f337de0da92309eaa318dc1e806f6">getFindProgressCallback</a> (<a class="el" href="uregex_8h.html#a05a1a31454add644cd2f023b7e4366c3">URegexFindProgressCallback</a> *&amp;callback, const void *&amp;context, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ae04f337de0da92309eaa318dc1e806f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the find progress callback function for this URegularExpression.  <a href="#ae04f337de0da92309eaa318dc1e806f6">More...</a><br /></td></tr>
<tr class="separator:ae04f337de0da92309eaa318dc1e806f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad0980416c6dbf0824efe39faca94c54"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#aad0980416c6dbf0824efe39faca94c54">setTrace</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> state)</td></tr>
<tr class="memdesc:aad0980416c6dbf0824efe39faca94c54"><td class="mdescLeft">&#160;</td><td class="mdescRight">setTrace Debug function, enable/disable tracing of the matching engine.  <a href="#aad0980416c6dbf0824efe39faca94c54">More...</a><br /></td></tr>
<tr class="separator:aad0980416c6dbf0824efe39faca94c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e1855e0007a875a896bc3616b0ae431"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a0e1855e0007a875a896bc3616b0ae431">getDynamicClassID</a> () const </td></tr>
<tr class="memdesc:a0e1855e0007a875a896bc3616b0ae431"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#a0e1855e0007a875a896bc3616b0ae431">More...</a><br /></td></tr>
<tr class="separator:a0e1855e0007a875a896bc3616b0ae431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e7ec9e068bc552fff8cbba63d8d0137"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a0e7ec9e068bc552fff8cbba63d8d0137">resetPreserveRegion</a> ()</td></tr>
<tr class="separator:a0e7ec9e068bc552fff8cbba63d8d0137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr>
<tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr>
<tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a076b2725e1b28d251a5fa2f25b0c3a42"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexMatcher.html#a076b2725e1b28d251a5fa2f25b0c3a42">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a076b2725e1b28d251a5fa2f25b0c3a42"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a076b2725e1b28d251a5fa2f25b0c3a42">More...</a><br /></td></tr>
<tr class="separator:a076b2725e1b28d251a5fa2f25b0c3a42"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a6599d2ee7a324de7b810427abcdf1894"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6599d2ee7a324de7b810427abcdf1894"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>RegexPattern</b></td></tr>
<tr class="separator:a6599d2ee7a324de7b810427abcdf1894"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c2144b0e5f518674dffbf166bb18bc3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c2144b0e5f518674dffbf166bb18bc3"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>RegexCImpl</b></td></tr>
<tr class="separator:a1c2144b0e5f518674dffbf166bb18bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>class <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> bundles together a regular expression pattern and input text to which the expression can be applied. </p>
<p>It includes methods for testing for matches, and for find and replace operations.</p>
<p>Class <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> is not intended to be subclassed.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004128">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Definition at line <a class="el" href="regex_8h_source.html#l00664">664</a> of file <a class="el" href="regex_8h_source.html">regex.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab756150946595cfd9ffbfcde3b5eae9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RegexMatcher::RegexMatcher </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>regexp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression. </p>
<p>This is a convenience method that avoids the need to explicitly create a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object. Note that if several RegexMatchers need to be created for the same expression, it will be more efficient to separately create and cache a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object, and use its matcher() method to create the <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> objects.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regexp</td><td>The Regular Expression to be compiled. </td></tr>
    <tr><td class="paramname">flags</td><td>Regular expression options, such as case insensitive matching. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching. ">UREGEX_CASE_INSENSITIVE</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Any errors are reported by setting this UErrorCode variable. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004155">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="aa40f9390721cd094fa0f894cd8aed381"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RegexMatcher::RegexMatcher </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>regexp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression. </p>
<p>This is a convenience method that avoids the need to explicitly create a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object. Note that if several RegexMatchers need to be created for the same expression, it will be more efficient to separately create and cache a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object, and use its matcher() method to create the <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> objects.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regexp</td><td>The regular expression to be compiled. </td></tr>
    <tr><td class="paramname">flags</td><td>Regular expression options, such as case insensitive matching. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching. ">UREGEX_CASE_INSENSITIVE</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Any errors are reported by setting this UErrorCode variable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004156">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a64143e83054370da71a32bd934156264"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RegexMatcher::RegexMatcher </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>regexp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression. </p>
<p>This is a convenience method that avoids the need to explicitly create a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object. Note that if several RegexMatchers need to be created for the same expression, it will be more efficient to separately create and cache a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object, and use its matcher() method to create the <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> objects. </p>
<p>The matcher will retain a reference to the supplied input string, and all regexp pattern matching operations happen directly on the original string. It is critical that the string not be altered or deleted before use by the regular expression operations is complete.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regexp</td><td>The Regular Expression to be compiled. </td></tr>
    <tr><td class="paramname">input</td><td>The string to match. The matcher retains a reference to the caller's string; mo copy is made. </td></tr>
    <tr><td class="paramname">flags</td><td>Regular expression options, such as case insensitive matching. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching. ">UREGEX_CASE_INSENSITIVE</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Any errors are reported by setting this UErrorCode variable. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004157">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a50f5def8c85d0ff7d8d8004a3a5aa6bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RegexMatcher::RegexMatcher </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>regexp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for a regular expression. </p>
<p>This is a convenience method that avoids the need to explicitly create a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object. Note that if several RegexMatchers need to be created for the same expression, it will be more efficient to separately create and cache a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> object, and use its matcher() method to create the <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> objects. </p>
<p>The matcher will make a shallow clone of the supplied input text, and all regexp pattern matching operations happen on this clone. While read-only operations on the supplied text are permitted, it is critical that the underlying string not be altered or deleted before use by the regular expression operations is complete.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regexp</td><td>The Regular Expression to be compiled. </td></tr>
    <tr><td class="paramname">input</td><td>The string to match. The matcher retains a shallow clone of the text. </td></tr>
    <tr><td class="paramname">flags</td><td>Regular expression options, such as case insensitive matching. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching. ">UREGEX_CASE_INSENSITIVE</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Any errors are reported by setting this UErrorCode variable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004158">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a8c09528fb1b417f2584d410c138daaa2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::RegexMatcher::~RegexMatcher </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004159">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aabebe4aff799cf5b07d23968634112f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::appendReplacement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>replacement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements a replace operation intended to be used as part of an incremental find-and-replace. </p>
<p>The input string, starting from the end of the previous replacement and ending at the start of the current match, is appended to the destination string. Then the replacement string is appended to the output string, including handling any substitutions of captured text.</p>
<p>For simple, prepackaged, non-incremental find-and-replace operations, see <a class="el" href="classicu_1_1RegexMatcher.html#a1672f514ae14aaddcc3e9ce16924f1b3" title="Replaces the first substring of the input that matches the pattern with the replacement string...">replaceFirst()</a> or <a class="el" href="classicu_1_1RegexMatcher.html#a2e0194d10c2f28d8372f284dd4a5af19" title="Replaces every substring of the input that matches the pattern with the given replacement string...">replaceAll()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>A <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> to which the results of the find-and-replace are appended. </td></tr>
    <tr><td class="paramname">replacement</td><td>A <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> that provides the text to be substituted for the input text that matched the regexp pattern. The replacement text may contain references to captured text from the input. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed, and U_INDEX_OUTOFBOUNDS_ERROR if the replacement text specifies a capture group that does not exist in the pattern.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004205">Stable:</a></b></dt><dd>ICU 2.4</dd></dl>

</div>
</div>
<a class="anchor" id="adccbff9c1f79a187f0be2a6e8be60773"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::appendReplacement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>replacement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements a replace operation intended to be used as part of an incremental find-and-replace. </p>
<p>The input string, starting from the end of the previous replacement and ending at the start of the current match, is appended to the destination string. Then the replacement string is appended to the output string, including handling any substitutions of captured text.</p>
<p>For simple, prepackaged, non-incremental find-and-replace operations, see <a class="el" href="classicu_1_1RegexMatcher.html#a1672f514ae14aaddcc3e9ce16924f1b3" title="Replaces the first substring of the input that matches the pattern with the replacement string...">replaceFirst()</a> or <a class="el" href="classicu_1_1RegexMatcher.html#a2e0194d10c2f28d8372f284dd4a5af19" title="Replaces every substring of the input that matches the pattern with the given replacement string...">replaceAll()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>A mutable <a class="el" href="structUText.html" title="UText struct. ">UText</a> to which the results of the find-and-replace are appended. Must not be NULL. </td></tr>
    <tr><td class="paramname">replacement</td><td>A <a class="el" href="structUText.html" title="UText struct. ">UText</a> that provides the text to be substituted for the input text that matched the regexp pattern. The replacement text may contain references to captured text from the input. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed, and U_INDEX_OUTOFBOUNDS_ERROR if the replacement text specifies a capture group that does not exist in the pattern.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004206">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a851501b95f740f97740b5ad7f0118fd6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::RegexMatcher::appendTail </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dest</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>As the final step in a find-and-replace operation, append the remainder of the input string, starting at the position following the last <a class="el" href="classicu_1_1RegexMatcher.html#aabebe4aff799cf5b07d23968634112f0" title="Implements a replace operation intended to be used as part of an incremental find-and-replace. ">appendReplacement()</a>, to the destination string. </p>
<p><code><a class="el" href="classicu_1_1RegexMatcher.html#a851501b95f740f97740b5ad7f0118fd6" title="As the final step in a find-and-replace operation, append the remainder of the input string...">appendTail()</a></code> is intended to be invoked after one or more invocations of the <code><a class="el" href="classicu_1_1RegexMatcher.html#aabebe4aff799cf5b07d23968634112f0" title="Implements a replace operation intended to be used as part of an incremental find-and-replace. ">RegexMatcher::appendReplacement()</a></code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>A <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> to which the results of the find-and-replace are appended. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the destination string. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004207">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="af1bcd8fde1c6475f3ad761a45eb307b4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structUText.html">UText</a>* icu::RegexMatcher::appendTail </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>As the final step in a find-and-replace operation, append the remainder of the input string, starting at the position following the last <a class="el" href="classicu_1_1RegexMatcher.html#aabebe4aff799cf5b07d23968634112f0" title="Implements a replace operation intended to be used as part of an incremental find-and-replace. ">appendReplacement()</a>, to the destination string. </p>
<p><code><a class="el" href="classicu_1_1RegexMatcher.html#a851501b95f740f97740b5ad7f0118fd6" title="As the final step in a find-and-replace operation, append the remainder of the input string...">appendTail()</a></code> is intended to be invoked after one or more invocations of the <code><a class="el" href="classicu_1_1RegexMatcher.html#aabebe4aff799cf5b07d23968634112f0" title="Implements a replace operation intended to be used as part of an incremental find-and-replace. ">RegexMatcher::appendReplacement()</a></code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>A mutable <a class="el" href="structUText.html" title="UText struct. ">UText</a> to which the results of the find-and-replace are appended. Must not be NULL. </td></tr>
    <tr><td class="paramname">status</td><td>error cod </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the destination string.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004208">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a9ef03ce42683dc1fc7d6533d36a1d32a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::end </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the first character following the text matched during the previous match operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the index of the last character matched, plus one. The index value returned is a native index, corresponding to code units for the underlying encoding type, for example, a byte index for UTF-8. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004176">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a7115dd9de27a1635d216ec3b9b04d2b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::end </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>group</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the character following the text matched by the specified capture group during the previous match operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>the capture group number </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed and U_INDEX_OUTOFBOUNDS_ERROR for a bad capture group number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the index of the first character following the text captured by the specified group during the previous match operation. Return -1 if the capture group exists in the pattern but was not part of the match. The index value returned is a native index, corresponding to code units for the underlying encoding type, for example, a byte index for UTF8. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004178">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a4f4022485716992e4f6a4eb4ff588451"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int64_t icu::RegexMatcher::end64 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the first character following the text matched during the previous match operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the index of the last character matched, plus one. The index value returned is a native index, corresponding to code units for the underlying encoding type, for example, a byte index for UTF-8. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004177">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="ae42eba3a2d43e6d2af64fe21afddffe2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int64_t icu::RegexMatcher::end64 </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>group</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the character following the text matched by the specified capture group during the previous match operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>the capture group number </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed and U_INDEX_OUTOFBOUNDS_ERROR for a bad capture group number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the index of the first character following the text captured by the specified group during the previous match operation. Return -1 if the capture group exists in the pattern but was not part of the match. The index value returned is a native index, corresponding to code units for the underlying encoding type, for example, a byte index for UTF8. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004179">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a50cce379741d692b8a4edc95e3145305"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::find </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the next pattern match in the input string. </p>
<p>The find begins searching the input at the location following the end of the previous match, or at the start of the string if there is no previous match. If a match is found, <code><a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d" title="Returns the index in the input string of the start of the text matched during the previous match oper...">start()</a>, <a class="el" href="classicu_1_1RegexMatcher.html#a9ef03ce42683dc1fc7d6533d36a1d32a" title="Returns the index in the input string of the first character following the text matched during the pr...">end()</a></code> and <code><a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f" title="Returns a string containing the text matched by the previous match. ">group()</a></code> will provide more information regarding the match. </p>
<p>Note that if the input string is changed by the application, use find(startPos, status) instead of <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a>, because the saved starting position may not be valid with the altered input string.</p>
<dl class="section return"><dt>Returns</dt><dd>TRUE if a match is found. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004164">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="aa31dd2acd711c1875b2402f5c940f67d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::find </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the next pattern match in the input string. </p>
<p>The find begins searching the input at the location following the end of the previous match, or at the start of the string if there is no previous match. If a match is found, <code><a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d" title="Returns the index in the input string of the start of the text matched during the previous match oper...">start()</a>, <a class="el" href="classicu_1_1RegexMatcher.html#a9ef03ce42683dc1fc7d6533d36a1d32a" title="Returns the index in the input string of the first character following the text matched during the pr...">end()</a></code> and <code><a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f" title="Returns a string containing the text matched by the previous match. ">group()</a></code> will provide more information regarding the match. </p>
<p>Note that if the input string is changed by the application, use find(startPos, status) instead of <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a>, because the saved starting position may not be valid with the altered input string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if a match is found. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004165">Stable:</a></b></dt><dd>ICU 55 </dd></dl>

</div>
</div>
<a class="anchor" id="af9763738f99d3b49888b69d31281f917"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::find </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> and then attempts to find the next substring of the input string that matches the pattern, starting at the specified index. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>The (native) index in the input string to begin the search. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if a match is found. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004166">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a0e1855e0007a875a896bc3616b0ae431"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::RegexMatcher::getDynamicClassID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ICU "poor man's RTTI", returns a UClassID for the actual class. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004220">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">icu::UObject</a>.</p>

</div>
</div>
<a class="anchor" id="ae04f337de0da92309eaa318dc1e806f6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RegexMatcher::getFindProgressCallback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uregex_8h.html#a05a1a31454add644cd2f023b7e4366c3">URegexFindProgressCallback</a> *&amp;&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&amp;&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the find progress callback function for this URegularExpression. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>Out parameter, receives a pointer to the user-supplied callback function. </td></tr>
    <tr><td class="paramname">context</td><td>Out parameter, receives the user context pointer that was set when <a class="el" href="uregex_8h.html#a9082576d5bbc1f16758b15f899d43e88" title="Set the find progress callback function for this URegularExpression. ">uregex_setFindProgressCallback()</a> was called. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004218">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a6da3a0ea3e445018c97a8f9519605308"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structUText.html">UText</a>* icu::RegexMatcher::getInput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the input string being matched, either by copying it into the provided <a class="el" href="structUText.html" title="UText struct. ">UText</a> parameter or by returning a shallow clone of the live input. </p>
<p>Note that copying the entire input may cause significant performance and memory issues. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>The <a class="el" href="structUText.html" title="UText struct. ">UText</a> into which the input should be copied, or NULL to create a new <a class="el" href="structUText.html" title="UText struct. ">UText</a> </td></tr>
    <tr><td class="paramname">status</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>dest if non-NULL, a shallow copy of the input text otherwise</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004187">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a199e05b2b59687b7755a06a9be6b9810"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RegexMatcher::getMatchCallback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uregex_8h.html#a0a86299b51ab447fdefa00f6763b44bb">URegexMatchCallback</a> *&amp;&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&amp;&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the callback function for this URegularExpression. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>Out parameter, receives a pointer to the user-supplied callback function. </td></tr>
    <tr><td class="paramname">context</td><td>Out parameter, receives the user context pointer that was set when <a class="el" href="uregex_8h.html#a8e1cae7b8de77df89081cb1ea36cf14b" title="Set a callback function for this URegularExpression. ">uregex_setMatchCallback()</a> was called. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004216">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaf5dc2929950244cccf70402c6fc6433"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::getStackLimit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the size of the heap storage available for use by the back tracking stack. </p>
<dl class="section return"><dt>Returns</dt><dd>the maximum backtracking stack size, in bytes, or zero if the stack size is unlimited. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004214">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a076b2725e1b28d251a5fa2f25b0c3a42"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::RegexMatcher::getStaticClassID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ICU "poor man's RTTI", returns a UClassID for this class. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004219">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a40029ad1034323a1d4c1b1f10d955939"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::getTimeLimit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the time limit, if any, for match operations made with this Matcher. </p>
<dl class="section return"><dt>Returns</dt><dd>the maximum allowed time for a match, in units of processing steps. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004212">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9a683aa73fa277fabd1fe0e5b3baf06f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> icu::RegexMatcher::group </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a string containing the text matched by the previous match. </p>
<p>If the pattern can match an empty string, an empty string may be returned. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string containing the matched input text. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004167">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="af260ecb37ee49cc089e03019b1a03566"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> icu::RegexMatcher::group </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>groupNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a string containing the text captured by the given group during the previous match operation. </p>
<p>Group(0) is the entire match.</p>
<p>A zero length string is returned both for capture groups that did not participate in the match and for actual zero length matches. To distinguish between these two cases use the function <a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d" title="Returns the index in the input string of the start of the text matched during the previous match oper...">start()</a>, which returns -1 for non-participating groups.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupNum</td><td>the capture group number </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed and U_INDEX_OUTOFBOUNDS_ERROR for a bad capture group number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the captured text </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004168">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="adacee44a8f9f30aeb35871f8fe2c68de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structUText.html">UText</a>* icu::RegexMatcher::group </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int64_t &amp;&#160;</td>
          <td class="paramname"><em>group_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a shallow clone of the entire live input string with the <a class="el" href="structUText.html" title="UText struct. ">UText</a> current native index set to the beginning of the requested group. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>The <a class="el" href="structUText.html" title="UText struct. ">UText</a> into which the input should be cloned, or NULL to create a new <a class="el" href="structUText.html" title="UText struct. ">UText</a> </td></tr>
    <tr><td class="paramname">group_len</td><td>A reference to receive the length of the desired capture group </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed and U_INDEX_OUTOFBOUNDS_ERROR for a bad capture group number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>dest if non-NULL, a shallow copy of the input text otherwise</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004170">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a2b31e443b1f544ed38c9e351e103db73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structUText.html">UText</a>* icu::RegexMatcher::group </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>groupNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int64_t &amp;&#160;</td>
          <td class="paramname"><em>group_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a shallow clone of the entire live input string with the <a class="el" href="structUText.html" title="UText struct. ">UText</a> current native index set to the beginning of the requested group. </p>
<p>A group length of zero is returned both for capture groups that did not participate in the match and for actual zero length matches. To distinguish between these two cases use the function <a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d" title="Returns the index in the input string of the start of the text matched during the previous match oper...">start()</a>, which returns -1 for non-participating groups.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupNum</td><td>The capture group number. </td></tr>
    <tr><td class="paramname">dest</td><td>The <a class="el" href="structUText.html" title="UText struct. ">UText</a> into which the input should be cloned, or NULL to create a new <a class="el" href="structUText.html" title="UText struct. ">UText</a>. </td></tr>
    <tr><td class="paramname">group_len</td><td>A reference to receive the length of the desired capture group </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed and U_INDEX_OUTOFBOUNDS_ERROR for a bad capture group number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>dest if non-NULL, a shallow copy of the input text otherwise</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004171">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a1a984e4f6eba3b699a37076c8085d8f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::groupCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of capturing groups in this matcher's pattern. </p>
<dl class="section return"><dt>Returns</dt><dd>the number of capture groups </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004169">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a6792b9268e8f77edbc1292aacadf16e8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::hasAnchoringBounds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if this matcher is using anchoring bounds. </p>
<p>By default, matchers use anchoring region bounds.</p>
<dl class="section return"><dt>Returns</dt><dd>TRUE if this matcher is using anchoring bounds. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004196">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a59cc306335a91db7d01d7b5fbe2fc1ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::hasTransparentBounds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Queries the transparency of region bounds for this matcher. </p>
<p>See useTransparentBounds for a description of transparent and opaque bounds. By default, a matcher uses opaque region boundaries.</p>
<dl class="section return"><dt>Returns</dt><dd>TRUE if this matcher is using opaque bounds, false if it is not. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004194">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a747a368a04079694487d60a2fc73e167"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::hitEnd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return TRUE if the most recent matching operation attempted to access additional input beyond the available input text. </p>
<p>In this case, additional input text could change the results of the match.</p>
<p><a class="el" href="classicu_1_1RegexMatcher.html#a747a368a04079694487d60a2fc73e167" title="Return TRUE if the most recent matching operation attempted to access additional input beyond the ava...">hitEnd()</a> is defined for both successful and unsuccessful matches. In either case <a class="el" href="classicu_1_1RegexMatcher.html#a747a368a04079694487d60a2fc73e167" title="Return TRUE if the most recent matching operation attempted to access additional input beyond the ava...">hitEnd()</a> will return TRUE if if the end of the text was reached at any point during the matching process.</p>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the most recent match hit the end of input </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004198">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9719e87a2beac8961a144829536152da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::RegexMatcher::input </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the input string being matched. </p>
<p>Ownership of the string belongs to the matcher; it should not be altered or deleted. This method will work even if the input was originally supplied as a <a class="el" href="structUText.html" title="UText struct. ">UText</a>. </p><dl class="section return"><dt>Returns</dt><dd>the input string </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004185">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a13c6a93682482cfb69f0fc0f2733a59e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structUText.html">UText</a>* icu::RegexMatcher::inputText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the input string being matched. </p>
<p>This is the live input text; it should not be altered or deleted. This method will work even if the input was originally supplied as a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>. </p><dl class="section return"><dt>Returns</dt><dd>the input text</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004186">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a925fca0e51fa0e912a186a71ef6d6a46"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::lookingAt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attempts to match the input string, starting from the beginning of the region, against the pattern. </p>
<p>Like the <a class="el" href="classicu_1_1RegexMatcher.html#aabdb58b9d53092be5f5d3554c204a657" title="Attempts to match the entire input region against the pattern. ">matches()</a> method, this function always starts at the beginning of the input region; unlike that function, it does not require that the entire region be matched.</p>
<p>If the match succeeds then more information can be obtained via the <code><a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d" title="Returns the index in the input string of the start of the text matched during the previous match oper...">start()</a></code>, <code><a class="el" href="classicu_1_1RegexMatcher.html#a9ef03ce42683dc1fc7d6533d36a1d32a" title="Returns the index in the input string of the first character following the text matched during the pr...">end()</a></code>, and <code><a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f" title="Returns a string containing the text matched by the previous match. ">group()</a></code> functions.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if there is a match at the start of the input string. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004162">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a47dde8619d89b37be57ff447d384d129"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::lookingAt </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>startIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attempts to match the input string, starting from the specified index, against the pattern. </p>
<p>The match may be of any length, and is not required to extend to the end of the input string. Contrast with match().</p>
<p>If the match succeeds then more information can be obtained via the <code><a class="el" href="classicu_1_1RegexMatcher.html#a676c682e93f15232778d86927fbcae0d" title="Returns the index in the input string of the start of the text matched during the previous match oper...">start()</a></code>, <code><a class="el" href="classicu_1_1RegexMatcher.html#a9ef03ce42683dc1fc7d6533d36a1d32a" title="Returns the index in the input string of the first character following the text matched during the pr...">end()</a></code>, and <code><a class="el" href="classicu_1_1RegexMatcher.html#a9a683aa73fa277fabd1fe0e5b3baf06f" title="Returns a string containing the text matched by the previous match. ">group()</a></code> functions.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">startIndex</td><td>The input string (native) index at which to begin matching. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if there is a match. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004163">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="aabdb58b9d53092be5f5d3554c204a657"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::matches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attempts to match the entire input region against the pattern. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if there is a match </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004160">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a4d037cc21198ce9c439671c73eb32920"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::matches </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>startIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets the matcher, then attempts to match the input beginning at the specified startIndex, and extending to the end of the input. </p>
<p>The input region is reset to include the entire input string. A successful match must extend to the end of the input. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">startIndex</td><td>The input string (native) index at which to begin matching. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if there is a match </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004161">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ac56295418c654ab00ff329694a84a5d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a>&amp; icu::RegexMatcher::pattern </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the pattern that is interpreted by this matcher. </p>
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression. ">RegexPattern</a> for this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004200">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a5a890f5bc97c6cfa520e60debd52480d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::refreshInputText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the subject text string upon which the regular expression is looking for matches without changing any other aspect of the matching state. </p>
<p>The new and previous text strings must have the same content.</p>
<p>This function is intended for use in environments where ICU is operating on strings that may move around in memory. It provides a mechanism for notifying ICU that the string has been relocated, and providing a new <a class="el" href="structUText.html" title="UText struct. ">UText</a> to access the string in its new position.</p>
<p>Note that the regular expression implementation never copies the underlying text of a string being matched, but always operates directly on the original text provided by the user. Refreshing simply drops the references to the old text and replaces them with references to the new.</p>
<p>Caution: this function is normally used only by very specialized, system-level code. One example use case is with garbage collection that moves the text in memory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">input</td><td>The new (moved) text string. </td></tr>
    <tr><td class="paramname">status</td><td>Receives errors detected by this function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004184">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a556e40af5e725121ad23944b24e0fb1b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::region </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>limit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the limits of this matcher's region. </p>
<p>The region is the part of the input string that will be searched to find a match. Invoking this method resets the matcher, and then sets the region to start at the index specified by the start parameter and end at the index specified by the end parameter.</p>
<p>Depending on the transparency and anchoring being used (see useTransparentBounds and useAnchoringBounds), certain constructs such as anchors may behave differently at or around the boundaries of the region</p>
<p>The function will fail if start is greater than limit, or if either index is less than zero or greater than the length of the string being matched.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>The (native) index to begin searches at. </td></tr>
    <tr><td class="paramname">limit</td><td>The index to end searches at (exclusive). </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004188">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9de12106adfa647377b756195a06c3c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::region </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>regionStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>regionLimit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>startIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Identical to region(start, limit, status) but also allows a start position without resetting the region state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regionStart</td><td>The region start </td></tr>
    <tr><td class="paramname">regionLimit</td><td>the limit of the region </td></tr>
    <tr><td class="paramname">startIndex</td><td>The (native) index within the region bounds at which to begin searches. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. If startIndex is not within the specified region bounds, U_INDEX_OUTOFBOUNDS_ERROR is returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004189">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a791bdf5a1c12a79580dfcbefe478a0b1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::regionEnd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reports the end (limit) index (exclusive) of this matcher's region. </p>
<p>The searches this matcher conducts are limited to finding matches within regionStart (inclusive) and regionEnd (exclusive).</p>
<dl class="section return"><dt>Returns</dt><dd>The ending point (native) of this matcher's region. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004192">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4fe690e848196a9c7df75308c03eb372"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int64_t icu::RegexMatcher::regionEnd64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reports the end (limit) index (exclusive) of this matcher's region. </p>
<p>The searches this matcher conducts are limited to finding matches within regionStart (inclusive) and regionEnd (exclusive).</p>
<dl class="section return"><dt>Returns</dt><dd>The ending point (native) of this matcher's region. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004193">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a1f2c1ade1a71fc51b1fb991b5657c04e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::regionStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reports the start index of this matcher's region. </p>
<p>The searches this matcher conducts are limited to finding matches within regionStart (inclusive) and regionEnd (exclusive).</p>
<dl class="section return"><dt>Returns</dt><dd>The starting (native) index of this matcher's region. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004190">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae0f703f152779c526b0ba18c719aa8d4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int64_t icu::RegexMatcher::regionStart64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reports the start index of this matcher's region. </p>
<p>The searches this matcher conducts are limited to finding matches within regionStart (inclusive) and regionEnd (exclusive).</p>
<dl class="section return"><dt>Returns</dt><dd>The starting (native) index of this matcher's region. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004191">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a2e0194d10c2f28d8372f284dd4a5af19"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> icu::RegexMatcher::replaceAll </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>replacement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Replaces every substring of the input that matches the pattern with the given replacement string. </p>
<p>This is a convenience function that provides a complete find-and-replace-all operation.</p>
<p>This method first resets this matcher. It then scans the input string looking for matches of the pattern. Input that is not part of any match is left unchanged; each match is replaced in the result by the replacement string. The replacement string may contain references to capture groups.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">replacement</td><td>a string containing the replacement text. </td></tr>
    <tr><td class="paramname">status</td><td>a reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string containing the results of the find and replace. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004201">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a9855c6225fca0aed6a37242b73b558d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structUText.html">UText</a>* icu::RegexMatcher::replaceAll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>replacement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Replaces every substring of the input that matches the pattern with the given replacement string. </p>
<p>This is a convenience function that provides a complete find-and-replace-all operation.</p>
<p>This method first resets this matcher. It then scans the input string looking for matches of the pattern. Input that is not part of any match is left unchanged; each match is replaced in the result by the replacement string. The replacement string may contain references to capture groups.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">replacement</td><td>a string containing the replacement text. </td></tr>
    <tr><td class="paramname">dest</td><td>a mutable <a class="el" href="structUText.html" title="UText struct. ">UText</a> in which the results are placed. If NULL, a new <a class="el" href="structUText.html" title="UText struct. ">UText</a> will be created (which may not be mutable). </td></tr>
    <tr><td class="paramname">status</td><td>a reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string containing the results of the find and replace. If a pre-allocated <a class="el" href="structUText.html" title="UText struct. ">UText</a> was provided, it will always be used and returned.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004202">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a1672f514ae14aaddcc3e9ce16924f1b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> icu::RegexMatcher::replaceFirst </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>replacement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Replaces the first substring of the input that matches the pattern with the replacement string. </p>
<p>This is a convenience function that provides a complete find-and-replace operation.</p>
<p>This function first resets this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>. It then scans the input string looking for a match of the pattern. Input that is not part of the match is appended directly to the result string; the match is replaced in the result by the replacement string. The replacement string may contain references to captured groups.</p>
<p>The state of the matcher (the position at which a subsequent <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a> would begin) after completing a <a class="el" href="classicu_1_1RegexMatcher.html#a1672f514ae14aaddcc3e9ce16924f1b3" title="Replaces the first substring of the input that matches the pattern with the replacement string...">replaceFirst()</a> is not specified. The <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> should be reset before doing additional <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a> operations.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">replacement</td><td>a string containing the replacement text. </td></tr>
    <tr><td class="paramname">status</td><td>a reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string containing the results of the find and replace. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004203">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="ad3efb07fcd5b4567f541c01e812e717b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structUText.html">UText</a>* icu::RegexMatcher::replaceFirst </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>replacement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Replaces the first substring of the input that matches the pattern with the replacement string. </p>
<p>This is a convenience function that provides a complete find-and-replace operation.</p>
<p>This function first resets this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>. It then scans the input string looking for a match of the pattern. Input that is not part of the match is appended directly to the result string; the match is replaced in the result by the replacement string. The replacement string may contain references to captured groups.</p>
<p>The state of the matcher (the position at which a subsequent <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a> would begin) after completing a <a class="el" href="classicu_1_1RegexMatcher.html#a1672f514ae14aaddcc3e9ce16924f1b3" title="Replaces the first substring of the input that matches the pattern with the replacement string...">replaceFirst()</a> is not specified. The <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> should be reset before doing additional <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a> operations.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">replacement</td><td>a string containing the replacement text. </td></tr>
    <tr><td class="paramname">dest</td><td>a mutable <a class="el" href="structUText.html" title="UText struct. ">UText</a> in which the results are placed. If NULL, a new <a class="el" href="structUText.html" title="UText struct. ">UText</a> will be created (which may not be mutable). </td></tr>
    <tr><td class="paramname">status</td><td>a reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string containing the results of the find and replace. If a pre-allocated <a class="el" href="structUText.html" title="UText struct. ">UText</a> was provided, it will always be used and returned.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004204">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="add06735f154a7c22100ed6c16ca1f6d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexMatcher::requireEnd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return TRUE the most recent match succeeded and additional input could cause it to fail. </p>
<p>If this method returns false and a match was found, then more input might change the match but the match won't be lost. If a match was not found, then requireEnd has no meaning.</p>
<dl class="section return"><dt>Returns</dt><dd>TRUE if more input could cause the most recent match to no longer match. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004199">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a35df71c4bbc3c0ebb2249432cbad615a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets this matcher. </p>
<p>The effect is to remove any memory of previous matches, and to cause subsequent <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a> operations to begin at the beginning of the input string.</p>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004180">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a9f3a9ca7dcf0ef68757aa0daec30adfd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::reset </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets this matcher, and set the current input position. </p>
<p>The effect is to remove any memory of previous matches, and to cause subsequent <a class="el" href="classicu_1_1RegexMatcher.html#a50cce379741d692b8a4edc95e3145305" title="Find the next pattern match in the input string. ">find()</a> operations to begin at the specified (native) position in the input string. </p>
<p>The matcher's region is reset to its default, which is the entire input string. </p>
<p>An alternative to this function is to set a match region beginning at the desired index.</p>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004181">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a1359b5f397013d90b762a7ee00c1d6a5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::reset </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>input</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets this matcher with a new input string. </p>
<p>This allows instances of <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> to be reused, which is more efficient than creating a new <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for each input string to be processed. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">input</td><td>The new string on which subsequent pattern matches will operate. The matcher retains a reference to the callers string, and operates directly on that. Ownership of the string remains with the caller. Because no copy of the string is made, it is essential that the caller not delete the string until after regexp operations on it are done. Note that while a reset on the matcher with an input string that is then modified across/during matcher operations may be supported currently for <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>, this was not originally intended behavior, and support for this is not guaranteed in upcoming versions of ICU. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004182">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a87f21b8f6278372faab9e91e68433fe0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::reset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>input</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets this matcher with a new input string. </p>
<p>This allows instances of <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> to be reused, which is more efficient than creating a new <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a> for each input string to be processed. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">input</td><td>The new string on which subsequent pattern matches will operate. The matcher makes a shallow clone of the given text; ownership of the original string remains with the caller. Because no deep copy of the text is made, it is essential that the caller not modify the string until after regexp operations on it are done. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>this <a class="el" href="classicu_1_1RegexMatcher.html" title="class RegexMatcher bundles together a regular expression pattern and input text to which the expressi...">RegexMatcher</a>.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004183">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a0e7ec9e068bc552fff8cbba63d8d0137"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::RegexMatcher::resetPreserveRegion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000417">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

</div>
</div>
<a class="anchor" id="a31a30016801e0bca6122c410dcc7864c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RegexMatcher::setFindProgressCallback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uregex_8h.html#a05a1a31454add644cd2f023b7e4366c3">URegexFindProgressCallback</a> *&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set a progress callback function for use with find operations on this Matcher. </p>
<p>During find operations, the callback will be invoked after each return from a match attempt, giving the application the opportunity to terminate a long-running find operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>A pointer to the user-supplied callback function. </td></tr>
    <tr><td class="paramname">context</td><td>User context pointer. The value supplied at the time the callback function is set will be saved and passed to the callback each time that it is called. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004217">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a71eb790976078e7adf0053813420eade"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RegexMatcher::setMatchCallback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uregex_8h.html#a0a86299b51ab447fdefa00f6763b44bb">URegexMatchCallback</a> *&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set a callback function for use with this Matcher. </p>
<p>During matching operations the function will be called periodically, giving the application the opportunity to terminate a long-running match.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>A pointer to the user-supplied callback function. </td></tr>
    <tr><td class="paramname">context</td><td>User context pointer. The value supplied at the time the callback function is set will be saved and passed to the callback each time that it is called. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004215">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad6fee6b970fec729961121929176f9c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RegexMatcher::setStackLimit </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>limit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the amount of heap storage available for use by the match backtracking stack. </p>
<p>The matcher is also reset, discarding any results from previous matches. </p>
<p>ICU uses a backtracking regular expression engine, with the backtrack stack maintained on the heap. This function sets the limit to the amount of memory that can be used for this purpose. A backtracking stack overflow will result in an error from the match operation that caused it. </p>
<p>A limit is desirable because a malicious or poorly designed pattern can use excessive memory, potentially crashing the process. A limit is enabled by default. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">limit</td><td>The maximum size, in bytes, of the matching backtrack stack. A value of zero means no limit. The limit must be greater or equal to zero.</td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004213">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6ebcfcab4fe6a38678c0291643a03a00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RegexMatcher::setTimeLimit </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>limit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set a processing time limit for match operations with this Matcher. </p>
<p>Some patterns, when matching certain strings, can run in exponential time. For practical purposes, the match operation may appear to be in an infinite loop. When a limit is set a match operation will fail with an error if the limit is exceeded. </p>
<p>The units of the limit are steps of the match engine. Correspondence with actual processor time will depend on the speed of the processor and the details of the specific pattern, but will typically be on the order of milliseconds. </p>
<p>By default, the matching time is not limited. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">limit</td><td>The limit value, or 0 for no limit. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004211">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aad0980416c6dbf0824efe39faca94c54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::RegexMatcher::setTrace </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>setTrace Debug function, enable/disable tracing of the matching engine. </p>
<p>For internal ICU development use only. DO NO USE!!!! </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000416">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a42f6bff3830b5db5fb08a7ee6437580e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::split </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td>
          <td class="paramname"><em>dest</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>destCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Split a string into fields. </p>
<p>Somewhat like <a class="el" href="classicu_1_1RegexMatcher.html#a42f6bff3830b5db5fb08a7ee6437580e" title="Split a string into fields. ">split()</a> from Perl. The pattern matches identify delimiters that separate the input into fields. The input data between the matches becomes the fields themselves.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">input</td><td>The string to be split into fields. The field delimiters match the pattern (in the "this" object). This matcher will be reset to this input string. </td></tr>
    <tr><td class="paramname">dest</td><td>An array of UnicodeStrings to receive the results of the split. This is an array of actual <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> objects, not an array of pointers to strings. Local (stack based) arrays can work well here. </td></tr>
    <tr><td class="paramname">destCapacity</td><td>The number of elements in the destination array. If the number of fields found is less than destCapacity, the extra strings in the destination array are not altered. If the number of destination strings is less than the number of fields, the trailing part of the input string, including any field delimiters, is placed in the last destination string. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of fields into which the input string was split. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004209">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="ab51727426a297eaefb84e90cc00bf5a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::split </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>dest</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>destCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Split a string into fields. </p>
<p>Somewhat like <a class="el" href="classicu_1_1RegexMatcher.html#a42f6bff3830b5db5fb08a7ee6437580e" title="Split a string into fields. ">split()</a> from Perl. The pattern matches identify delimiters that separate the input into fields. The input data between the matches becomes the fields themselves.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">input</td><td>The string to be split into fields. The field delimiters match the pattern (in the "this" object). This matcher will be reset to this input string. </td></tr>
    <tr><td class="paramname">dest</td><td>An array of mutable <a class="el" href="structUText.html" title="UText struct. ">UText</a> structs to receive the results of the split. If a field is NULL, a new <a class="el" href="structUText.html" title="UText struct. ">UText</a> is allocated to contain the results for that field. This new <a class="el" href="structUText.html" title="UText struct. ">UText</a> is not guaranteed to be mutable. </td></tr>
    <tr><td class="paramname">destCapacity</td><td>The number of elements in the destination array. If the number of fields found is less than destCapacity, the extra strings in the destination array are not altered. If the number of destination strings is less than the number of fields, the trailing part of the input string, including any field delimiters, is placed in the last destination string. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of fields into which the input string was split.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004210">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a676c682e93f15232778d86927fbcae0d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the start of the text matched during the previous match operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>a reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The (native) position in the input string of the start of the last match. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004172">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a399f58f6f2516c3e61e72ae986cfa3db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::RegexMatcher::start </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>group</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the start of the text matched by the specified capture group during the previous match operation. </p>
<p>Return -1 if the capture group exists in the pattern, but was not part of the last match.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>the capture group number </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed, and U_INDEX_OUTOFBOUNDS_ERROR for a bad capture group number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the (native) start position of substring matched by the specified group. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004174">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a4bf6d83d6d602edf32d0d718ce60e149"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int64_t icu::RegexMatcher::start64 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the start of the text matched during the previous match operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>a reference to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The (native) position in the input string of the start of the last match. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004173">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a46c7d1955889500f4577d729fbbf720f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int64_t icu::RegexMatcher::start64 </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>group</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index in the input string of the start of the text matched by the specified capture group during the previous match operation. </p>
<p>Return -1 if the capture group exists in the pattern, but was not part of the last match.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>the capture group number. </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors. Possible errors are U_REGEX_INVALID_STATE if no match has been attempted or the last match failed, and U_INDEX_OUTOFBOUNDS_ERROR for a bad capture group number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the (native) start position of substring matched by the specified group. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004175">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a class="anchor" id="aa92699729c82a6c9b86ce90831a9b557"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::useAnchoringBounds </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set whether this matcher is using Anchoring Bounds for its region. </p>
<p>With anchoring bounds, pattern anchors such as ^ and $ will match at the start and end of the region. Without Anchoring Bounds, anchors will only match at the positions they would in the complete text.</p>
<p>Anchoring Bounds are the default for regions.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>TRUE if to enable anchoring bounds; FALSE to disable them. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>This Matcher </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004197">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab95501e00f15b7920f84ac3051a4a12a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a>&amp; icu::RegexMatcher::useTransparentBounds </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the transparency of region bounds for this matcher. </p>
<p>Invoking this function with an argument of true will set this matcher to use transparent bounds. If the boolean argument is false, then opaque bounds will be used.</p>
<p>Using transparent bounds, the boundaries of this matcher's region are transparent to lookahead, lookbehind, and boundary matching constructs. Those constructs can see text beyond the boundaries of the region while checking for a match.</p>
<p>With opaque bounds, no text outside of the matcher's region is visible to lookahead, lookbehind, and boundary matching constructs.</p>
<p>By default, a matcher uses opaque bounds.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>TRUE for transparent bounds; FALSE for opaque bounds </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>This Matcher; </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004195">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="regex_8h_source.html">regex.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>