Fixed silly bug in example.

[SVN r33609]
This commit is contained in:
John Maddock
2006-04-09 10:07:08 +00:00
parent 4370fe4607
commit 01cc2aaa50
3 changed files with 8 additions and 8 deletions

View File

@ -203,8 +203,8 @@ boost::regex e1, e2;
<B>return</B> <FONT color=#000080>0</FONT>; <B>return</B> <FONT color=#000080>0</FONT>;
} }
<B>extern</B> <B>const</B> <B>char</B>* pre_expression = <FONT color=#0000ff>"(&lt;)|(&gt;)|\\r"</FONT>; <B>extern</B> <B>const</B> <B>char</B>* pre_expression = <FONT color=#0000ff>"(&lt;)|(&gt;)|(&amp;)|\\r"</FONT>;
<B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1&lt;)(?2&gt;)"</FONT>; <B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1&lt;)(?2&gt;)(?3&amp;amp;)"</FONT>;
<B>const</B> <B>char</B>* expression_text = <FONT color=#000080><I>// preprocessor directives: index 1 <B>const</B> <B>char</B>* expression_text = <FONT color=#000080><I>// preprocessor directives: index 1

View File

@ -203,8 +203,8 @@ boost::regex e1, e2;
<B>return</B> <FONT color=#000080>0</FONT>; <B>return</B> <FONT color=#000080>0</FONT>;
} }
<B>extern</B> <B>const</B> <B>char</B>* pre_expression = <FONT color=#0000ff>"(&lt;)|(&gt;)|\\r"</FONT>; <B>extern</B> <B>const</B> <B>char</B>* pre_expression = <FONT color=#0000ff>"(&lt;)|(&gt;)|(&amp;)|\\r"</FONT>;
<B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1&lt;)(?2&gt;)"</FONT>; <B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1&lt;)(?2&gt;)(?3&amp;amp;)"</FONT>;
<B>const</B> <B>char</B>* expression_text = <FONT color=#000080><I>// preprocessor directives: index 1 <B>const</B> <B>char</B>* expression_text = <FONT color=#000080><I>// preprocessor directives: index 1

View File

@ -86,8 +86,8 @@ int main(int argc, const char** argv)
return 0; return 0;
} }
extern const char* pre_expression = "(<)|(>)|\\r"; extern const char* pre_expression = "(<)|(>)|(&)|\\r";
extern const char* pre_format = "(?1&lt;)(?2&gt;)"; extern const char* pre_format = "(?1&lt;)(?2&gt;)(?3&amp;)";
const char* expression_text = // preprocessor directives: index 1 const char* expression_text = // preprocessor directives: index 1