mirror of
https://github.com/boostorg/regex.git
synced 2025-07-06 09:06:29 +02:00
Fixed silly bug in example.
[SVN r33609]
This commit is contained in:
@ -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>"(<)|(>)|\\r"</FONT>;
|
<B>extern</B> <B>const</B> <B>char</B>* pre_expression = <FONT color=#0000ff>"(<)|(>)|(&)|\\r"</FONT>;
|
||||||
<B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1<)(?2>)"</FONT>;
|
<B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1<)(?2>)(?3&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
|
||||||
|
@ -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>"(<)|(>)|\\r"</FONT>;
|
<B>extern</B> <B>const</B> <B>char</B>* pre_expression = <FONT color=#0000ff>"(<)|(>)|(&)|\\r"</FONT>;
|
||||||
<B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1<)(?2>)"</FONT>;
|
<B>extern</B> <B>const</B> <B>char</B>* pre_format = <FONT color=#0000ff>"(?1<)(?2>)(?3&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
|
||||||
|
@ -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<)(?2>)";
|
extern const char* pre_format = "(?1<)(?2>)(?3&)";
|
||||||
|
|
||||||
|
|
||||||
const char* expression_text = // preprocessor directives: index 1
|
const char* expression_text = // preprocessor directives: index 1
|
||||||
|
Reference in New Issue
Block a user