404 Not Found


nginx
beegazpacho.com - GrazzMean
Uname: Linux in-mum-web1557.main-hosting.eu 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Software: LiteSpeed
PHP version: 8.2.30 [ PHP INFO ] PHP os: Linux
Server Ip: 88.222.243.68
Your Ip: 216.73.216.168
User: u848900432 (848900432) | Group: o51372345 (1051372345)
Safe Mode: OFF
Disable Function:
NONE

name : classRegexPattern.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 77.1: icu::RegexPattern 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 77.1
   &#160;<span id="projectnumber">77.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</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::RegexPattern Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Class <code><a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a></code> represents a compiled regular expression.  
 <a href="classicu_1_1RegexPattern.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::RegexPattern:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1RegexPattern.png" usemap="#icu::RegexPattern_map" alt=""/>
  <map id="icu::RegexPattern_map" name="icu::RegexPattern_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,110,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class." alt="icu::UMemory" shape="rect" coords="0,0,110,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:adb04945dd47d73278f596697146d3920"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#adb04945dd47d73278f596697146d3920">RegexPattern</a> ()</td></tr>
<tr class="memdesc:adb04945dd47d73278f596697146d3920"><td class="mdescLeft">&#160;</td><td class="mdescRight">default constructor.  <a href="classicu_1_1RegexPattern.html#adb04945dd47d73278f596697146d3920">More...</a><br /></td></tr>
<tr class="separator:adb04945dd47d73278f596697146d3920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac02925f645ee55fe6aede14664de7104"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#ac02925f645ee55fe6aede14664de7104">RegexPattern</a> (const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;source)</td></tr>
<tr class="memdesc:ac02925f645ee55fe6aede14664de7104"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor.  <a href="classicu_1_1RegexPattern.html#ac02925f645ee55fe6aede14664de7104">More...</a><br /></td></tr>
<tr class="separator:ac02925f645ee55fe6aede14664de7104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbb93c175f5bf0b9eab713ac91355aa"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a0fbb93c175f5bf0b9eab713ac91355aa">~RegexPattern</a> ()</td></tr>
<tr class="memdesc:a0fbb93c175f5bf0b9eab713ac91355aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classicu_1_1RegexPattern.html#a0fbb93c175f5bf0b9eab713ac91355aa">More...</a><br /></td></tr>
<tr class="separator:a0fbb93c175f5bf0b9eab713ac91355aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad28ba245aa5d5063a1055cbf903c34b0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#ad28ba245aa5d5063a1055cbf903c34b0">operator==</a> (const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;that) const</td></tr>
<tr class="memdesc:ad28ba245aa5d5063a1055cbf903c34b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator.  <a href="classicu_1_1RegexPattern.html#ad28ba245aa5d5063a1055cbf903c34b0">More...</a><br /></td></tr>
<tr class="separator:ad28ba245aa5d5063a1055cbf903c34b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a632bc0a86baa7837c682f63ee77faef2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a632bc0a86baa7837c682f63ee77faef2">operator!=</a> (const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;that) const</td></tr>
<tr class="memdesc:a632bc0a86baa7837c682f63ee77faef2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator.  <a href="classicu_1_1RegexPattern.html#a632bc0a86baa7837c682f63ee77faef2">More...</a><br /></td></tr>
<tr class="separator:a632bc0a86baa7837c682f63ee77faef2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68d50684423e46a41f7de049589c6cfe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a68d50684423e46a41f7de049589c6cfe">operator=</a> (const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;source)</td></tr>
<tr class="memdesc:a68d50684423e46a41f7de049589c6cfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="classicu_1_1RegexPattern.html#a68d50684423e46a41f7de049589c6cfe">More...</a><br /></td></tr>
<tr class="separator:a68d50684423e46a41f7de049589c6cfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23d154e2cb9d4ebfe93f50c51d466449"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a23d154e2cb9d4ebfe93f50c51d466449">clone</a> () const</td></tr>
<tr class="memdesc:a23d154e2cb9d4ebfe93f50c51d466449"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an exact copy of this <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object.  <a href="classicu_1_1RegexPattern.html#a23d154e2cb9d4ebfe93f50c51d466449">More...</a><br /></td></tr>
<tr class="separator:a23d154e2cb9d4ebfe93f50c51d466449"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fd6d9cfeab773c8d9c94d29e5a565c4"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a0fd6d9cfeab773c8d9c94d29e5a565c4">flags</a> () const</td></tr>
<tr class="memdesc:a0fd6d9cfeab773c8d9c94d29e5a565c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags that were used when compiling this pattern.  <a href="classicu_1_1RegexPattern.html#a0fd6d9cfeab773c8d9c94d29e5a565c4">More...</a><br /></td></tr>
<tr class="separator:a0fd6d9cfeab773c8d9c94d29e5a565c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96b9ca1ca74ca5a83f230147420b5326"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a96b9ca1ca74ca5a83f230147420b5326">matcher</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;input, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a96b9ca1ca74ca5a83f230147420b5326"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates 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> that will match the given input against this pattern.  <a href="classicu_1_1RegexPattern.html#a96b9ca1ca74ca5a83f230147420b5326">More...</a><br /></td></tr>
<tr class="separator:a96b9ca1ca74ca5a83f230147420b5326"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea446822e97bfc27f66561807e8b1e29"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1RegexMatcher.html">RegexMatcher</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#aea446822e97bfc27f66561807e8b1e29">matcher</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:aea446822e97bfc27f66561807e8b1e29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates 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> that will match against this pattern.  <a href="classicu_1_1RegexPattern.html#aea446822e97bfc27f66561807e8b1e29">More...</a><br /></td></tr>
<tr class="separator:aea446822e97bfc27f66561807e8b1e29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade9a9e1cd43c4235b02c77e28632556a"><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_1RegexPattern.html#ade9a9e1cd43c4235b02c77e28632556a">pattern</a> () const</td></tr>
<tr class="memdesc:ade9a9e1cd43c4235b02c77e28632556a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the regular expression from which this pattern was compiled.  <a href="classicu_1_1RegexPattern.html#ade9a9e1cd43c4235b02c77e28632556a">More...</a><br /></td></tr>
<tr class="separator:ade9a9e1cd43c4235b02c77e28632556a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74c0b97ae465fefba480bfa182867662"><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_1RegexPattern.html#a74c0b97ae465fefba480bfa182867662">patternText</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a74c0b97ae465fefba480bfa182867662"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the regular expression from which this pattern was compiled.  <a href="classicu_1_1RegexPattern.html#a74c0b97ae465fefba480bfa182867662">More...</a><br /></td></tr>
<tr class="separator:a74c0b97ae465fefba480bfa182867662"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac00c503a6e39fc968a33d2a33bf4c5e9"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#ac00c503a6e39fc968a33d2a33bf4c5e9">groupNumberFromName</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;groupName, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:ac00c503a6e39fc968a33d2a33bf4c5e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the group number corresponding to a named capture group.  <a href="classicu_1_1RegexPattern.html#ac00c503a6e39fc968a33d2a33bf4c5e9">More...</a><br /></td></tr>
<tr class="separator:ac00c503a6e39fc968a33d2a33bf4c5e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1460a6aef7f9a524ba4d7bbf9e9f6e"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#aff1460a6aef7f9a524ba4d7bbf9e9f6e">groupNumberFromName</a> (const char *groupName, int32_t nameLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:aff1460a6aef7f9a524ba4d7bbf9e9f6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the group number corresponding to a named capture group.  <a href="classicu_1_1RegexPattern.html#aff1460a6aef7f9a524ba4d7bbf9e9f6e">More...</a><br /></td></tr>
<tr class="separator:aff1460a6aef7f9a524ba4d7bbf9e9f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a830f27fe817dda7d153a6458d224ace4"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a830f27fe817dda7d153a6458d224ace4">split</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;input, <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) const</td></tr>
<tr class="memdesc:a830f27fe817dda7d153a6458d224ace4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Split a string into fields.  <a href="classicu_1_1RegexPattern.html#a830f27fe817dda7d153a6458d224ace4">More...</a><br /></td></tr>
<tr class="separator:a830f27fe817dda7d153a6458d224ace4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8df5b26ccda9b932e8acff0957e555a8"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a8df5b26ccda9b932e8acff0957e555a8">split</a> (<a class="el" href="structUText.html">UText</a> *input, <a class="el" href="structUText.html">UText</a> *dest[], int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a8df5b26ccda9b932e8acff0957e555a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Split a string into fields.  <a href="classicu_1_1RegexPattern.html#a8df5b26ccda9b932e8acff0957e555a8">More...</a><br /></td></tr>
<tr class="separator:a8df5b26ccda9b932e8acff0957e555a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b3fb7a7ab0b3a1998fec1e1e085f2f0"><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_1RegexPattern.html#a0b3fb7a7ab0b3a1998fec1e1e085f2f0">getDynamicClassID</a> () const override</td></tr>
<tr class="memdesc:a0b3fb7a7ab0b3a1998fec1e1e085f2f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="classicu_1_1RegexPattern.html#a0b3fb7a7ab0b3a1998fec1e1e085f2f0">More...</a><br /></td></tr>
<tr class="separator:a0b3fb7a7ab0b3a1998fec1e1e085f2f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ff35243908e5012a77c093f0ebc6804"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a0ff35243908e5012a77c093f0ebc6804">dumpPattern</a> () const</td></tr>
<tr class="memdesc:a0ff35243908e5012a77c093f0ebc6804"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dump a compiled pattern.  <a href="classicu_1_1RegexPattern.html#a0ff35243908e5012a77c093f0ebc6804">More...</a><br /></td></tr>
<tr class="separator:a0ff35243908e5012a77c093f0ebc6804"><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="classicu_1_1UObject.html#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:a62b67beccda50057b3fc076523d80791"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a62b67beccda50057b3fc076523d80791">compile</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;regex, <a class="el" href="structUParseError.html">UParseError</a> &amp;pe, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a62b67beccda50057b3fc076523d80791"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object.  <a href="classicu_1_1RegexPattern.html#a62b67beccda50057b3fc076523d80791">More...</a><br /></td></tr>
<tr class="separator:a62b67beccda50057b3fc076523d80791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3c22a1ebddf254c0e670a0383d724da"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#ac3c22a1ebddf254c0e670a0383d724da">compile</a> (<a class="el" href="structUText.html">UText</a> *regex, <a class="el" href="structUParseError.html">UParseError</a> &amp;pe, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ac3c22a1ebddf254c0e670a0383d724da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object.  <a href="classicu_1_1RegexPattern.html#ac3c22a1ebddf254c0e670a0383d724da">More...</a><br /></td></tr>
<tr class="separator:ac3c22a1ebddf254c0e670a0383d724da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4be5c221f493bf29c3dfb52f56354df"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#ab4be5c221f493bf29c3dfb52f56354df">compile</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;regex, uint32_t <a class="el" href="classicu_1_1RegexPattern.html#a0fd6d9cfeab773c8d9c94d29e5a565c4">flags</a>, <a class="el" href="structUParseError.html">UParseError</a> &amp;pe, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ab4be5c221f493bf29c3dfb52f56354df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags.  <a href="classicu_1_1RegexPattern.html#ab4be5c221f493bf29c3dfb52f56354df">More...</a><br /></td></tr>
<tr class="separator:ab4be5c221f493bf29c3dfb52f56354df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a009176132bb4ce46877a473066b95de3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a009176132bb4ce46877a473066b95de3">compile</a> (<a class="el" href="structUText.html">UText</a> *regex, uint32_t <a class="el" href="classicu_1_1RegexPattern.html#a0fd6d9cfeab773c8d9c94d29e5a565c4">flags</a>, <a class="el" href="structUParseError.html">UParseError</a> &amp;pe, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a009176132bb4ce46877a473066b95de3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags.  <a href="classicu_1_1RegexPattern.html#a009176132bb4ce46877a473066b95de3">More...</a><br /></td></tr>
<tr class="separator:a009176132bb4ce46877a473066b95de3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa474287939f8b9c02e835dc936a7ce05"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#aa474287939f8b9c02e835dc936a7ce05">compile</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;regex, uint32_t <a class="el" href="classicu_1_1RegexPattern.html#a0fd6d9cfeab773c8d9c94d29e5a565c4">flags</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aa474287939f8b9c02e835dc936a7ce05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags.  <a href="classicu_1_1RegexPattern.html#aa474287939f8b9c02e835dc936a7ce05">More...</a><br /></td></tr>
<tr class="separator:aa474287939f8b9c02e835dc936a7ce05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a686b7f96b7d17a6896bd98d5499db182"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a686b7f96b7d17a6896bd98d5499db182">compile</a> (<a class="el" href="structUText.html">UText</a> *regex, uint32_t <a class="el" href="classicu_1_1RegexPattern.html#a0fd6d9cfeab773c8d9c94d29e5a565c4">flags</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a686b7f96b7d17a6896bd98d5499db182"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags.  <a href="classicu_1_1RegexPattern.html#a686b7f96b7d17a6896bd98d5499db182">More...</a><br /></td></tr>
<tr class="separator:a686b7f96b7d17a6896bd98d5499db182"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abec680bc1ddb2fe26b696dcac479bd13"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#abec680bc1ddb2fe26b696dcac479bd13">matches</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;regex, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;input, <a class="el" href="structUParseError.html">UParseError</a> &amp;pe, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:abec680bc1ddb2fe26b696dcac479bd13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether a string matches a regular expression.  <a href="classicu_1_1RegexPattern.html#abec680bc1ddb2fe26b696dcac479bd13">More...</a><br /></td></tr>
<tr class="separator:abec680bc1ddb2fe26b696dcac479bd13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23d5203133257ecccffa1616c04b9dae"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RegexPattern.html#a23d5203133257ecccffa1616c04b9dae">matches</a> (<a class="el" href="structUText.html">UText</a> *regex, <a class="el" href="structUText.html">UText</a> *input, <a class="el" href="structUParseError.html">UParseError</a> &amp;pe, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a23d5203133257ecccffa1616c04b9dae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether a string matches a regular expression.  <a href="classicu_1_1RegexPattern.html#a23d5203133257ecccffa1616c04b9dae">More...</a><br /></td></tr>
<tr class="separator:a23d5203133257ecccffa1616c04b9dae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b4d01370f717a79adbfc069a5952dac"><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_1RegexPattern.html#a7b4d01370f717a79adbfc069a5952dac">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a7b4d01370f717a79adbfc069a5952dac"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="classicu_1_1RegexPattern.html#a7b4d01370f717a79adbfc069a5952dac">More...</a><br /></td></tr>
<tr class="separator:a7b4d01370f717a79adbfc069a5952dac"><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:a37cf9c695a0f0d4c606794205508fed2"><td class="memItemLeft" align="right" valign="top"><a id="a37cf9c695a0f0d4c606794205508fed2"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>RegexCompile</b></td></tr>
<tr class="separator:a37cf9c695a0f0d4c606794205508fed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada49313a58b9d9eb990246aa6c72a379"><td class="memItemLeft" align="right" valign="top"><a id="ada49313a58b9d9eb990246aa6c72a379"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>RegexMatcher</b></td></tr>
<tr class="separator:ada49313a58b9d9eb990246aa6c72a379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c2144b0e5f518674dffbf166bb18bc3"><td class="memItemLeft" align="right" valign="top"><a 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 <code><a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a></code> represents a compiled regular expression. </p>
<p>It includes factory methods for creating a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object from the source (string) form of a regular expression, methods for creating RegexMatchers that allow the pattern to be applied to input text, and a few convenience methods for simple common uses of regular expressions.</p>
<p>Class <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> is not intended to be subclassed.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005256">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="regex_8h_source.html#l00087">87</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 id="adb04945dd47d73278f596697146d3920"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb04945dd47d73278f596697146d3920">&#9670;&nbsp;</a></span>RegexPattern() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RegexPattern::RegexPattern </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>default constructor. </p>
<p>Create a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object that refers to no actual pattern. Not normally needed; <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are usually created using the factory method <code><a class="el" href="classicu_1_1RegexPattern.html#a62b67beccda50057b3fc076523d80791" title="Compiles the regular expression in string form into a RegexPattern object.">compile()</a></code>.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005258">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="ac02925f645ee55fe6aede14664de7104"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac02925f645ee55fe6aede14664de7104">&#9670;&nbsp;</a></span>RegexPattern() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RegexPattern::RegexPattern </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy Constructor. </p>
<p>Create a new <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object that is equivalent to the source object. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the pattern object to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005259">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="a0fbb93c175f5bf0b9eab713ac91355aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fbb93c175f5bf0b9eab713ac91355aa">&#9670;&nbsp;</a></span>~RegexPattern()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::RegexPattern::~RegexPattern </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>
<p>Note that a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object must persist so long as any <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 that were created from the <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> are active. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable005260">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a23d154e2cb9d4ebfe93f50c51d466449"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23d154e2cb9d4ebfe93f50c51d466449">&#9670;&nbsp;</a></span>clone()</h2>

<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_1RegexPattern.html">RegexPattern</a>* icu::RegexPattern::clone </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>Create an exact copy of this <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object. </p>
<p>Since <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> is not intended to be subclassed, <code><a class="el" href="classicu_1_1RegexPattern.html#a23d154e2cb9d4ebfe93f50c51d466449" title="Create an exact copy of this RegexPattern object.">clone()</a></code> and the copy construction are equivalent operations. </p><dl class="section return"><dt>Returns</dt><dd>the copy of this <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005264">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="aa474287939f8b9c02e835dc936a7ce05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa474287939f8b9c02e835dc936a7ce05">&#9670;&nbsp;</a></span>compile() <span class="overload">[1/6]</span></h2>

<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="classicu_1_1RegexPattern.html">RegexPattern</a>* icu::RegexPattern::compile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>regex</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags. </p>
<p>These compile methods, rather than the constructors, are the usual way that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are created.</p>
<p>Note that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects must not be deleted while <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 created from the pattern are active. RegexMatchers keep a pointer back to their pattern, so premature deletion of the pattern is a catastrophic error.</p>
<p>Note that it is often more convenient to 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> directly from a pattern string instead of than separately compiling the pattern and then creating 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> object from the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression to be compiled. </td></tr>
    <tr><td class="paramname">flags</td><td>The <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags to be used, e.g. <a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching.">UREGEX_CASE_INSENSITIVE</a>. </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 regexPattern object for the compiled pattern.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005269">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a id="ab4be5c221f493bf29c3dfb52f56354df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4be5c221f493bf29c3dfb52f56354df">&#9670;&nbsp;</a></span>compile() <span class="overload">[2/6]</span></h2>

<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="classicu_1_1RegexPattern.html">RegexPattern</a>* icu::RegexPattern::compile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>regex</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="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>pe</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags. </p>
<p>These compile methods, rather than the constructors, are the usual way that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are created.</p>
<p>Note that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects must not be deleted while <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 created from the pattern are active. RegexMatchers keep a pointer back to their pattern, so premature deletion of the pattern is a catastrophic error.</p>
<p>Note that it is often more convenient to 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> directly from a pattern string instead of than separately compiling the pattern and then creating 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> object from the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression to be compiled. </td></tr>
    <tr><td class="paramname">flags</td><td>The <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags to be used, e.g. <a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching.">UREGEX_CASE_INSENSITIVE</a>. </td></tr>
    <tr><td class="paramname">pe</td><td>Receives the position (line and column numbers) of any error within the regular expression.) </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 regexPattern object for the compiled pattern.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005267">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="a62b67beccda50057b3fc076523d80791"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62b67beccda50057b3fc076523d80791">&#9670;&nbsp;</a></span>compile() <span class="overload">[3/6]</span></h2>

<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="classicu_1_1RegexPattern.html">RegexPattern</a>* icu::RegexPattern::compile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>regex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>pe</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object. </p>
<p>These compile methods, rather than the constructors, are the usual way that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are created.</p>
<p>Note that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects must not be deleted while <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 created from the pattern are active. RegexMatchers keep a pointer back to their pattern, so premature deletion of the pattern is a catastrophic error.</p>
<p>All <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> pattern match mode flags are set to their default values.</p>
<p>Note that it is often more convenient to 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> directly from a pattern string rather than separately compiling the pattern and then creating 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> object from the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression to be compiled. </td></tr>
    <tr><td class="paramname">pe</td><td>Receives the position (line and column nubers) of any error within the regular expression.) </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 regexPattern object for the compiled pattern.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005265">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="a686b7f96b7d17a6896bd98d5499db182"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a686b7f96b7d17a6896bd98d5499db182">&#9670;&nbsp;</a></span>compile() <span class="overload">[4/6]</span></h2>

<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="classicu_1_1RegexPattern.html">RegexPattern</a>* icu::RegexPattern::compile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>regex</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags. </p>
<p>These compile methods, rather than the constructors, are the usual way that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are created.</p>
<p>Note that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects must not be deleted while <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 created from the pattern are active. RegexMatchers keep a pointer back to their pattern, so premature deletion of the pattern is a catastrophic error.</p>
<p>Note that it is often more convenient to 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> directly from a pattern string instead of than separately compiling the pattern and then creating 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> object from the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression to be compiled. Note, the text referred to by this <a class="el" href="structUText.html" title="UText struct.">UText</a> must not be deleted during the lifetime of the <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object or any <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> object created from it. </td></tr>
    <tr><td class="paramname">flags</td><td>The <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags to be used, e.g. <a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching.">UREGEX_CASE_INSENSITIVE</a>. </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 regexPattern object for the compiled pattern.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005270">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a id="a009176132bb4ce46877a473066b95de3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a009176132bb4ce46877a473066b95de3">&#9670;&nbsp;</a></span>compile() <span class="overload">[5/6]</span></h2>

<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="classicu_1_1RegexPattern.html">RegexPattern</a>* icu::RegexPattern::compile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>regex</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="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>pe</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object using the specified <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags. </p>
<p>These compile methods, rather than the constructors, are the usual way that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are created.</p>
<p>Note that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects must not be deleted while <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 created from the pattern are active. RegexMatchers keep a pointer back to their pattern, so premature deletion of the pattern is a catastrophic error.</p>
<p>Note that it is often more convenient to 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> directly from a pattern string instead of than separately compiling the pattern and then creating 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> object from the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression to be compiled. Note, the text referred to by this <a class="el" href="structUText.html" title="UText struct.">UText</a> must not be deleted during the lifetime of the <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object or any <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> object created from it. </td></tr>
    <tr><td class="paramname">flags</td><td>The <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags to be used, e.g. <a class="el" href="uregex_8h.html#a874989dfec4cbeb6baf4d1a51cb529aea909d2ed2c61e34cb62dc13e29f6923ec" title="Enable case insensitive matching.">UREGEX_CASE_INSENSITIVE</a>. </td></tr>
    <tr><td class="paramname">pe</td><td>Receives the position (line and column numbers) of any error within the regular expression.) </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 regexPattern object for the compiled pattern.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005268">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a id="ac3c22a1ebddf254c0e670a0383d724da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3c22a1ebddf254c0e670a0383d724da">&#9670;&nbsp;</a></span>compile() <span class="overload">[6/6]</span></h2>

<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="classicu_1_1RegexPattern.html">RegexPattern</a>* icu::RegexPattern::compile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>regex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>pe</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compiles the regular expression in string form into a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object. </p>
<p>These compile methods, rather than the constructors, are the usual way that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are created.</p>
<p>Note that <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects must not be deleted while <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 created from the pattern are active. RegexMatchers keep a pointer back to their pattern, so premature deletion of the pattern is a catastrophic error.</p>
<p>All <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> pattern match mode flags are set to their default values.</p>
<p>Note that it is often more convenient to 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> directly from a pattern string rather than separately compiling the pattern and then creating 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> object from the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression to be compiled. Note, the text referred to by this <a class="el" href="structUText.html" title="UText struct.">UText</a> must not be deleted during the lifetime of the <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object or any <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> object created from it. </td></tr>
    <tr><td class="paramname">pe</td><td>Receives the position (line and column nubers) of any error within the regular expression.) </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 regexPattern object for the compiled pattern.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005266">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a id="a0ff35243908e5012a77c093f0ebc6804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ff35243908e5012a77c093f0ebc6804">&#9670;&nbsp;</a></span>dumpPattern()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::RegexPattern::dumpPattern </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Dump a compiled pattern. </p>
<p>Internal debug function. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000814">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a id="a0fd6d9cfeab773c8d9c94d29e5a565c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fd6d9cfeab773c8d9c94d29e5a565c4">&#9670;&nbsp;</a></span>flags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual uint32_t icu::RegexPattern::flags </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 <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags that were used when compiling this pattern. </p>
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> match mode flags </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005271">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="a0b3fb7a7ab0b3a1998fec1e1e085f2f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b3fb7a7ab0b3a1998fec1e1e085f2f0">&#9670;&nbsp;</a></span>getDynamicClassID()</h2>

<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::RegexPattern::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">override</span><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#_stable005282">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

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

</div>
</div>
<a id="a7b4d01370f717a79adbfc069a5952dac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b4d01370f717a79adbfc069a5952dac">&#9670;&nbsp;</a></span>getStaticClassID()</h2>

<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::RegexPattern::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#_stable005283">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="aff1460a6aef7f9a524ba4d7bbf9e9f6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff1460a6aef7f9a524ba4d7bbf9e9f6e">&#9670;&nbsp;</a></span>groupNumberFromName() <span class="overload">[1/2]</span></h2>

<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::RegexPattern::groupNumberFromName </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>nameLength</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>Get the group number corresponding to a named capture group. </p>
<p>The returned number can be used with any function that access capture groups by number.</p>
<p>The function returns an error status if the specified name does not appear in the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupName</td><td>The capture group name, platform invariant characters only. </td></tr>
    <tr><td class="paramname">nameLength</td><td>The length of the name, or -1 if the name is nul-terminated. </td></tr>
    <tr><td class="paramname">status</td><td>A UErrorCode to receive any errors.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005279">Stable:</a></b></dt><dd>ICU 55 </dd></dl>

</div>
</div>
<a id="ac00c503a6e39fc968a33d2a33bf4c5e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac00c503a6e39fc968a33d2a33bf4c5e9">&#9670;&nbsp;</a></span>groupNumberFromName() <span class="overload">[2/2]</span></h2>

<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::RegexPattern::groupNumberFromName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>groupName</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>Get the group number corresponding to a named capture group. </p>
<p>The returned number can be used with any function that access capture groups by number.</p>
<p>The function returns an error status if the specified name does not appear in the pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupName</td><td>The capture group name. </td></tr>
    <tr><td class="paramname">status</td><td>A UErrorCode to receive any errors.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005278">Stable:</a></b></dt><dd>ICU 55 </dd></dl>

</div>
</div>
<a id="a96b9ca1ca74ca5a83f230147420b5326"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96b9ca1ca74ca5a83f230147420b5326">&#9670;&nbsp;</a></span>matcher() <span class="overload">[1/2]</span></h2>

<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>* icu::RegexPattern::matcher </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="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>Creates 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> that will match the given input against this pattern. </p>
<p>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> can then be used to perform match, find or replace operations on the input. Note that a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object must not be deleted while RegexMatchers created from it still exist and might possibly be used again.</p>
<p>The matcher will retain a reference to the supplied input string, and all regexp pattern matching operations happen directly on this 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">input</td><td>The input string to which the regular expression will be applied. </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 <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> object for this pattern and input.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005272">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="aea446822e97bfc27f66561807e8b1e29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea446822e97bfc27f66561807e8b1e29">&#9670;&nbsp;</a></span>matcher() <span class="overload">[2/2]</span></h2>

<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>* icu::RegexPattern::matcher </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>Creates 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> that will match against this pattern. </p>
<p>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> can be used to perform match, find or replace operations. Note that a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object must not be deleted while RegexMatchers created from it still exist and might possibly be used again.</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>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> object for this pattern and input.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005273">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a id="abec680bc1ddb2fe26b696dcac479bd13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abec680bc1ddb2fe26b696dcac479bd13">&#9670;&nbsp;</a></span>matches() <span class="overload">[1/2]</span></h2>

<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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexPattern::matches </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>regex</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"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>pe</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test whether a string matches a regular expression. </p>
<p>This convenience function both compiles the regular expression and applies it in a single operation. Note that if the same pattern needs to be applied repeatedly, this method will be less efficient than creating and reusing 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> object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression </td></tr>
    <tr><td class="paramname">input</td><td>The string data to be matched </td></tr>
    <tr><td class="paramname">pe</td><td>Receives the position of any syntax errors within the regular expression </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 the regular expression exactly matches the full input string.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005274">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="a23d5203133257ecccffa1616c04b9dae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23d5203133257ecccffa1616c04b9dae">&#9670;&nbsp;</a></span>matches() <span class="overload">[2/2]</span></h2>

<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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::RegexPattern::matches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUText.html">UText</a> *&#160;</td>
          <td class="paramname"><em>regex</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"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>pe</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test whether a string matches a regular expression. </p>
<p>This convenience function both compiles the regular expression and applies it in a single operation. Note that if the same pattern needs to be applied repeatedly, this method will be less efficient than creating and reusing 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> object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>The regular expression </td></tr>
    <tr><td class="paramname">input</td><td>The string data to be matched </td></tr>
    <tr><td class="paramname">pe</td><td>Receives the position of any syntax errors within the regular expression </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 the regular expression exactly matches the full input string.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005275">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a id="a632bc0a86baa7837c682f63ee77faef2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a632bc0a86baa7837c682f63ee77faef2">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool icu::RegexPattern::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Comparison operator. </p>
<p>Two <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are considered equal if they were constructed from identical source patterns using the same <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> settings. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object to compare with "this". </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the objects are different. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005262">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="regex_8h_source.html#l00132">132</a> of file <a class="el" href="regex_8h_source.html">regex.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0">icu::operator==()</a>.</p>

</div>
</div>
<a id="a68d50684423e46a41f7de049589c6cfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68d50684423e46a41f7de049589c6cfe">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a>&amp; icu::RegexPattern::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assignment operator. </p>
<p>After assignment, this <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> will behave identically to the source object. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable005263">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="ad28ba245aa5d5063a1055cbf903c34b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad28ba245aa5d5063a1055cbf903c34b0">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool icu::RegexPattern::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1RegexPattern.html">RegexPattern</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Comparison operator. </p>
<p>Two <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> objects are considered equal if they were constructed from identical source patterns using the same <a class="el" href="uregex_8h.html#a909a419bde366d90d8d656cdbf390ab9" title="Constants for Regular Expression Match Modes.">URegexpFlag</a> settings. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>a <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object to compare with "this". </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the objects are equivalent. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005261">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="ade9a9e1cd43c4235b02c77e28632556a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade9a9e1cd43c4235b02c77e28632556a">&#9670;&nbsp;</a></span>pattern()</h2>

<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::RegexPattern::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 regular expression from which this pattern was compiled. </p>
<p>This method will work even if the pattern was compiled from a <a class="el" href="structUText.html" title="UText struct.">UText</a>.</p>
<p>Note: If the pattern was originally compiled from a <a class="el" href="structUText.html" title="UText struct.">UText</a>, and that <a class="el" href="structUText.html" title="UText struct.">UText</a> was modified, the returned string may no longer reflect the <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable005276">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="a74c0b97ae465fefba480bfa182867662"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74c0b97ae465fefba480bfa182867662">&#9670;&nbsp;</a></span>patternText()</h2>

<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::RegexPattern::patternText </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 regular expression from which this pattern was compiled. </p>
<p>This method will work even if the pattern was compiled from 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>
<p>Note: This is the original input, not a clone. If the pattern was originally compiled from a <a class="el" href="structUText.html" title="UText struct.">UText</a>, and that <a class="el" href="structUText.html" title="UText struct.">UText</a> was modified, the returned <a class="el" href="structUText.html" title="UText struct.">UText</a> may no longer reflect the <a class="el" href="classicu_1_1RegexPattern.html" title="Class RegexPattern represents a compiled regular expression.">RegexPattern</a> object.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005277">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<a id="a830f27fe817dda7d153a6458d224ace4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a830f27fe817dda7d153a6458d224ace4">&#9670;&nbsp;</a></span>split() <span class="overload">[1/2]</span></h2>

<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::RegexPattern::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> 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>Split a string into fields. </p>
<p>Somewhat like <a class="el" href="classicu_1_1RegexPattern.html#a830f27fe817dda7d153a6458d224ace4" title="Split a string into fields.">split()</a> from Perl or Java. Pattern matches identify delimiters that separate the input into fields. The input data between the delimiters becomes the fields themselves.</p>
<p>If the delimiter pattern includes capture groups, the captured text will also appear in the destination array of output strings, interspersed with the fields. This is similar to Perl, but differs from Java, which ignores the presence of capture groups in the pattern.</p>
<p>Trailing empty fields will always be returned, assuming sufficient destination capacity. This differs from the default behavior for Java and Perl where trailing empty fields are not returned.</p>
<p>The number of strings produced by the split operation is returned. This count includes the strings from capture groups in the delimiter pattern. This behavior differs from Java, which ignores capture groups.</p>
<p>For the best performance on <a class="el" href="classicu_1_1RegexPattern.html#a830f27fe817dda7d153a6458d224ace4" title="Split a string into fields.">split()</a> operations, <code><a class="el" href="classicu_1_1RegexMatcher.html#a42f6bff3830b5db5fb08a7ee6437580e" title="Split a string into fields.">RegexMatcher::split</a></code> is preferable to this function</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) </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#_stable005280">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a id="a8df5b26ccda9b932e8acff0957e555a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8df5b26ccda9b932e8acff0957e555a8">&#9670;&nbsp;</a></span>split() <span class="overload">[2/2]</span></h2>

<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::RegexPattern::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> 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>Split a string into fields. </p>
<p>Somewhat like split() from Perl or Java. Pattern matches identify delimiters that separate the input into fields. The input data between the delimiters becomes the fields themselves.</p>
<p>If the delimiter pattern includes capture groups, the captured text will also appear in the destination array of output strings, interspersed with the fields. This is similar to Perl, but differs from Java, which ignores the presence of capture groups in the pattern.</p>
<p>Trailing empty fields will always be returned, assuming sufficient destination capacity. This differs from the default behavior for Java and Perl where trailing empty fields are not returned.</p>
<p>The number of strings produced by the split operation is returned. This count includes the strings from capture groups in the delimiter pattern. This behavior differs from Java, which ignores capture groups.</p>
<p>For the best performance on <a class="el" href="classicu_1_1RegexPattern.html#a830f27fe817dda7d153a6458d224ace4" title="Split a string into fields.">split()</a> operations, <code><a class="el" href="classicu_1_1RegexMatcher.html#a42f6bff3830b5db5fb08a7ee6437580e" title="Split a string into fields.">RegexMatcher::split()</a></code> is preferable to this function</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) </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 nullptr, 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 destination strings used. <br  />
</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable005281">Stable:</a></b></dt><dd>ICU 4.6 </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>i18n/unicode/<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="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
© 2026 GrazzMean
Beegazpacho


Let’s  Start  Your  Online  Journey  with  Beegazpacho 

Welcome to Beegazpacho,
where creativity meets strategy,
and innovation drives success.


Contact
Now


OUR CLIENTS

WhatsApp-Image-2021-12-06.png
Untitled-design-11.png
niaf-logo.png
20220406-163308-scaled.jpg
karchi-logo.png
20220405-171252.png
20220405-171309.png
20220321-161603.png
20220321-161611.png
20220321-161628.png
20220321-161244.png
20220321-161256.png
20220321-161450.png
20220321-161205.png
20220226-170222.png
20220321-161051.png
20211202-170852.png
Untitled-design-9
pidilite-png-logo-colour
logo-black-e1706125740216-qisosldqhzgcaerhdt6n4t3m4s50jr0iik48z0h5vk
Fraikin-Dayim-logo-1
hpcl-logo-2-1
services

Transforming Ideas into
Success

.01
Digital Marketing

We drive growth through data-driven strategies and cutting-edge techniques.

Learn More

.02
SEO

Improve your online visibility and rank higher on search engines with our expert SEO services.

Learn More

.03
Website Designing

We design websites that are not only visually stunning but also user-centric, ensuring seamless navigation and enhanced user experience.

Learn More

.04
App Development

Our apps are crafted to be intuitive, engaging, and functional, providing your users with an exceptional mobile experience.

Learn More

.05
Social Media Ads

Target the right audience with precision and creativity to maximize engagement and conversions.

Learn More

.06
Google Ads

Maximize ROI with precision-targeted campaigns on Google’s powerful ad platform.

Learn More

.07
Google My Business

Optimize your local presence with strategies that put your business on the map and attract more customers.

Learn More

.08
Graphic Designing

Our designs tell your brand’s story in a visually compelling way.

Learn More

.09
3D Videos

Bring your product to life with immersive and dynamic 3D explainer videos.

Learn More

about BEEGAZPACHO

creating special Things
For special brands

Join the ranks of successful brands by partnering with Beegazpacho

00+

Happy Customer

00+

Continents

Our vision is not just to be a service provider but to be your partner in growth. We see ourselves as an extension of your team, working tirelessly to ensure that your brand not only meets its goals but surpasses them.

Explore
more

Our Recent Work

Crafted with Passion and Precision

Connect now


Web Design
Design, Development & Identity

Logo Design
Design, Development & Identity

Creative Brand design
Design, Development & Identity

Product Design Marketing
Design, Development & Identity

DIGITAL MARKETING
SEO
WEBSITE DESIGNING
APP DEVELOPMENT
SOCIAL MEDIA ADS
GOOGLE ADS
GOOGLE MY BUSINESS
GRAPHIC DESINING
3D VIDEOS
Client Stories

Hear It from Those Who Know Us Best

Our clients’ success stories speak volumes about our commitment to excellence. Don’t just take our word for it—hear directly from the brands we’ve partnered with. Their testimonials highlight our ability to bring visions to life and create a lasting impact on their businesses.

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors