<html> <head> <link rel="stylesheet" href="page.css" type="text/css"> <title>fox-toolkit.org - Documentation</title> </head> <body bgcolor=#ffffff link=#990033 vlink=#990033 alink=#990033 text=#000000> <font face='verdana,sans-serif' size=2 > <!---- TOPIC TITLE WITH LOGO---> <table border=0 cellpadding= cellspacing=2 width=100% ><tr><td><a href='http://www.fox-toolkit.org/doc.html'><img src='../art/foxlogo_small.jpg' border=0></a></td><td width=100% valign=bottom><font face='verdana,sans-serif' size=2 ><b> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <br><img src='../art/line.gif' width=100% height=1></b></font></td></tr></table> <p> <!--- TOPIC TITLE WITH LOGO ---> <!-- Generated by Doxygen 1.3.3 --> <h1>FX::FXRex Class Reference</h1><a class="el" href="classFX_1_1FXRex.html">FXRex</a> is a regular expression class implementing a NFA matcher. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="FXRex_8h-source.html">FXRex.h</a>></code> <p> <a href="classFX_1_1FXRex-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a0">FXRex</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a1">FXRex</a> (const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &orig)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a2">FXRex</a> (const FXchar *pattern, FXint mode=REX_NORMAL, <a class="el" href="group__FXRex__0.html#a0">FXRexError</a> *error=NULL)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a3">FXRex</a> (const <a class="el" href="classFX_1_1FXString.html">FXString</a> &pattern, FXint mode=REX_NORMAL, <a class="el" href="group__FXRex__0.html#a0">FXRexError</a> *error=NULL)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFX_1_1FXRex.html">FXRex</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a4">operator=</a> (const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &orig)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>FXbool </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a5">empty</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__FXRex__0.html#a0">FXRexError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a6">parse</a> (const FXchar *pattern, FXint mode=REX_NORMAL)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__FXRex__0.html#a0">FXRexError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a7">parse</a> (const <a class="el" href="classFX_1_1FXString.html">FXString</a> &pattern, FXint mode=REX_NORMAL)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>FXbool </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a8">match</a> (const FXchar *string, FXint len, FXint *beg=NULL, FXint *end=NULL, FXint mode=REX_FORWARD, FXint npar=1, FXint fm=0, FXint to=2147483647) const</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>FXbool </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a9">match</a> (const <a class="el" href="classFX_1_1FXString.html">FXString</a> &string, FXint *beg=NULL, FXint *end=NULL, FXint mode=REX_FORWARD, FXint npar=1, FXint fm=0, FXint to=2147483647) const</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#a10">~FXRex</a> ()</td></tr> <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFX_1_1FXString.html">FXString</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#e0">substitute</a> (const FXchar *string, FXint len, FXint *beg, FXint *end, const <a class="el" href="classFX_1_1FXString.html">FXString</a> &replace, FXint npar=1)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFX_1_1FXString.html">FXString</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#e1">substitute</a> (const <a class="el" href="classFX_1_1FXString.html">FXString</a> &string, FXint *beg, FXint *end, const <a class="el" href="classFX_1_1FXString.html">FXString</a> &replace, FXint npar=1)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>const FXchar * </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#e2">getError</a> (<a class="el" href="group__FXRex__0.html#a0">FXRexError</a> err)</td></tr> <tr><td colspan=2><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>FXbool </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#n0">operator==</a> (const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &r1, const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &r2)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a name="n1" doxytag="FX::FXRex::operator!="></a> FXbool </td><td class="memItemRight" valign=bottom><b>operator!=</b> (const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &r1, const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &r2)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFX_1_1FXStream.html">FXStream</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXRex.html#n2">operator<<</a> (<a class="el" href="classFX_1_1FXStream.html">FXStream</a> &store, const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &s)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a name="n3" doxytag="FX::FXRex::operator>>"></a> <a class="el" href="classFX_1_1FXStream.html">FXStream</a> & </td><td class="memItemRight" valign=bottom><b>operator>></b> (<a class="el" href="classFX_1_1FXStream.html">FXStream</a> &store, <a class="el" href="classFX_1_1FXRex.html">FXRex</a> &s)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="classFX_1_1FXRex.html">FXRex</a> is a regular expression class implementing a NFA matcher. <p> It supports capturing parentheses, non-capturing parentheses, positive or negative lookahead, backreferences, case-insensitive matching, counted repetitions, lazy or greedy matches, and PERL-like matching operators. The subject string may be scanned forwards or backwards, and may contain any of 256 possible character values.<p> When parsing a regular expression pattern, the mode parameter is the bitwise OR of a set of flags and affects the match algorithm. Passing the flag REX_CAPTURE enables capturing parentheses and back references. The flag REX_ICASE enables case-insensitive matching. When the flag REX_NEWLINE is passed, newlines are treated like normal characters; otherwise, newline is NOT matched except when explicitly part of a character class. The flag REX_VERBATIM disables all special character interpretation.<p> When matching a compiled pattern, the mode parameter is the bitwise OR of a set of flags that affects how the match is performed. Passing the flag REX_BACKWARD causes the match to proceed backwards through the subject string. Passing the flags REX_NOT_BOL and/or REX_NOT_EOL causes the begin and end of the subject string NOT to be considered a line start or line end. The flag REX_NOT_EMPTY causes a match to fail if the empty string was matched.<p> See also: <ul> <li><a class="el" href="group__FXRex__0.html">Regular expression error codes</a>. </li> <li><a class="el" href="group__FXRex__1.html">Regular expression parse flags</a>. </li> <li><a class="el" href="group__FXRex__2.html">Regular expression match flags</a>. </li> </ul> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="FX::FXRex::FXRex"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FX::FXRex::FXRex </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Construct empty regular expression object. <p> </td> </tr> </table> <a name="a1" doxytag="FX::FXRex::FXRex"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FX::FXRex::FXRex </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> & </td> <td class="mdname1" valign="top" nowrap> <em>orig</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Copy regular expression object. <p> </td> </tr> </table> <a name="a2" doxytag="FX::FXRex::FXRex"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FX::FXRex::FXRex </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const FXchar * </td> <td class="mdname" nowrap> <em>pattern</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>mode</em> = REX_NORMAL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__FXRex__0.html#a0">FXRexError</a> * </td> <td class="mdname" nowrap> <em>error</em> = NULL</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Compile expression from pattern; if error is not NULL, error code is returned. <p> </td> </tr> </table> <a name="a3" doxytag="FX::FXRex::FXRex"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FX::FXRex::FXRex </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXString.html">FXString</a> & </td> <td class="mdname" nowrap> <em>pattern</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>mode</em> = REX_NORMAL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__FXRex__0.html#a0">FXRexError</a> * </td> <td class="mdname" nowrap> <em>error</em> = NULL</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Compile expression from pattern; if error is not NULL, error code is returned. <p> </td> </tr> </table> <a name="a10" doxytag="FX::FXRex::~FXRex"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FX::FXRex::~<a class="el" href="classFX_1_1FXRex.html">FXRex</a> </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Delete. <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a4" doxytag="FX::FXRex::operator="></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classFX_1_1FXRex.html">FXRex</a>& FX::FXRex::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> & </td> <td class="mdname1" valign="top" nowrap> <em>orig</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Assign another regular expression to this one. <p> </td> </tr> </table> <a name="a5" doxytag="FX::FXRex::empty"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FXbool FX::FXRex::empty </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See if regular expression is empty; the regular expression will be empty when it is unable to parse a pattern due to a syntax error. <p> </td> </tr> </table> <a name="a6" doxytag="FX::FXRex::parse"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__FXRex__0.html#a0">FXRexError</a> FX::FXRex::parse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const FXchar * </td> <td class="mdname" nowrap> <em>pattern</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>mode</em> = REX_NORMAL</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Parse pattern, return error code if syntax error is found. <p> </td> </tr> </table> <a name="a7" doxytag="FX::FXRex::parse"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__FXRex__0.html#a0">FXRexError</a> FX::FXRex::parse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXString.html">FXString</a> & </td> <td class="mdname" nowrap> <em>pattern</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>mode</em> = REX_NORMAL</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Parse pattern, return error code if syntax error is found. <p> </td> </tr> </table> <a name="a8" doxytag="FX::FXRex::match"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FXbool FX::FXRex::match </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const FXchar * </td> <td class="mdname" nowrap> <em>string</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>len</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>beg</em> = NULL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>end</em> = NULL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>mode</em> = REX_FORWARD, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>npar</em> = 1, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>fm</em> = 0, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>to</em> = 2147483647</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Match a subject string of length len, returning TRUE if a match is found and FALSE otherwise. <p> The entire pattern is captured in beg[0] and end[0], where beg[0] refers to the position of the first matched character and end[0] refers to the position after the last matched character. Sub expressions from capturing parenthesis i are returned in beg[i] and end[i]. </td> </tr> </table> <a name="a9" doxytag="FX::FXRex::match"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FXbool FX::FXRex::match </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXString.html">FXString</a> & </td> <td class="mdname" nowrap> <em>string</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>beg</em> = NULL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>end</em> = NULL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>mode</em> = REX_FORWARD, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>npar</em> = 1, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>fm</em> = 0, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>to</em> = 2147483647</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Search for match in a string. <p> </td> </tr> </table> <a name="e0" doxytag="FX::FXRex::substitute"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classFX_1_1FXString.html">FXString</a> FX::FXRex::substitute </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const FXchar * </td> <td class="mdname" nowrap> <em>string</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>len</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>beg</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>end</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classFX_1_1FXString.html">FXString</a> & </td> <td class="mdname" nowrap> <em>replace</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>npar</em> = 1</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> After performing a regular expression match with capturing parentheses, a substitution string is build from the replace string, where where "&" is replaced by the entire matched pattern, and "\1" through "\9" are replaced by captured expressions. <p> The original source string and its length, and the match arrays beg and end must be passed. </td> </tr> </table> <a name="e1" doxytag="FX::FXRex::substitute"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classFX_1_1FXString.html">FXString</a> FX::FXRex::substitute </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXString.html">FXString</a> & </td> <td class="mdname" nowrap> <em>string</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>beg</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint * </td> <td class="mdname" nowrap> <em>end</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classFX_1_1FXString.html">FXString</a> & </td> <td class="mdname" nowrap> <em>replace</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>FXint </td> <td class="mdname" nowrap> <em>npar</em> = 1</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return substitution string. <p> </td> </tr> </table> <a name="e2" doxytag="FX::FXRex::getError"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const FXchar* FX::FXRex::getError </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__FXRex__0.html#a0">FXRexError</a> </td> <td class="mdname1" valign="top" nowrap> <em>err</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns error code for given error. <p> </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="n0" doxytag="FX::FXRex::operator=="></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> FXbool operator== </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> & </td> <td class="mdname" nowrap> <em>r1</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> & </td> <td class="mdname" nowrap> <em>r2</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [friend]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Comparison operators. <p> </td> </tr> </table> <a name="n2" doxytag="FX::FXRex::operator<<"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classFX_1_1FXStream.html">FXStream</a>& operator<< </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXStream.html">FXStream</a> & </td> <td class="mdname" nowrap> <em>store</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classFX_1_1FXRex.html">FXRex</a> & </td> <td class="mdname" nowrap> <em>s</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [friend]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Saving and loading. <p> </td> </tr> </table> </font> <!--- COPYRIGHT --> <p> <table width=100% cellpadding=0 cellspacing=0><tr><td width=100% valign=top id=HEADLINE align=right> <img src='../art/line.gif' width=100% height=1><font size=-1> Copyright © 1997-2004 Jeroen van der Zijp</font> </td></tr></table> </p> <!--- COPYRIGHT --> </body> </html>