Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 346

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: regex.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>regex.h File Reference</h1>C++ API: Regular Expressions. <a href="#_details">More...</a>
<p>
<code>#include &quot;<a class="el" href="utypes_8h-source.html">unicode/utypes.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="uobject_8h-source.html">unicode/uobject.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="unistr_8h-source.html">unicode/unistr.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="parseerr_8h-source.html">unicode/parseerr.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="uregex_8h-source.html">unicode/uregex.h</a>&quot;</code><br>

<p>
<a href="regex_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRegexPattern.html">RegexPattern</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class <code><a class="el" href="classRegexPattern.html">RegexPattern</a></code> represents a compiled regular expression.  <a href="classRegexPattern.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRegexMatcher.html">RegexMatcher</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">class <a class="el" href="classRegexMatcher.html">RegexMatcher</a> bundles together a reular expression pattern and input text to which the expression can be applied.  <a href="classRegexMatcher.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="regex_8h.html#db99cedafe6d353311aac44514f846be">RegexPatternDump</a>(pat)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">RBBIPatternDump Debug function, displays the compiled form of a pattern.  <a href="#db99cedafe6d353311aac44514f846be"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
C++ API: Regular Expressions. 
<p>
<h2>Regular Expression API</h2>
<p>
The ICU API for processing regular expressions consists of two classes, <code><a class="el" href="classRegexPattern.html">RegexPattern</a></code> and <code><a class="el" href="classRegexMatcher.html">RegexMatcher</a></code>. <code><a class="el" href="classRegexPattern.html">RegexPattern</a></code> objects represent a pre-processed, or compiled regular expression. They are created from a regular expression pattern string, and can be used to create <code><a class="el" href="classRegexMatcher.html">RegexMatcher</a></code> objects for the pattern.<p>
Class <code><a class="el" href="classRegexMatcher.html">RegexMatcher</a></code> bundles together a regular expression pattern and a target string to which the search pattern will be applied. <code><a class="el" href="classRegexMatcher.html">RegexMatcher</a></code> includes API for doing plain find or search operations, for search and replace operations, and for obtaining detailed information about bounds of a match. <p>
Note that by constructing <code><a class="el" href="classRegexMatcher.html">RegexMatcher</a></code> objects directly from regular expression pattern strings application code can be simplified and the explicit need for <code><a class="el" href="classRegexPattern.html">RegexPattern</a></code> objects can usually be eliminated.  
<p>
Definition in file <a class="el" href="regex_8h-source.html">regex.h</a>.<hr><h2>Define Documentation</h2>
<a class="anchor" name="db99cedafe6d353311aac44514f846be"></a><!-- doxytag: member="regex.h::RegexPatternDump" ref="db99cedafe6d353311aac44514f846be" args="(pat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RegexPatternDump          </td>
          <td>(</td>
          <td class="paramtype">pat&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
RBBIPatternDump Debug function, displays the compiled form of a pattern. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000178">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="regex_8h-source.html#l00081">81</a> of file <a class="el" href="regex_8h-source.html">regex.h</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:22 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>