mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 13:26:38 +02:00
Updated history, and added format_literal documentation.
[SVN r29378]
This commit is contained in:
@ -45,8 +45,19 @@
|
||||
<LI>
|
||||
Added <A href="unicode.html">Unicode support; based on ICU</A>.
|
||||
<LI>
|
||||
Changed newline support to recognise \f as a line separator (all character
|
||||
types), and \x85 as a line separator for wide characters / Unicode only.</LI></UL>
|
||||
Changed newline support to recognise \f as a line separator (all character
|
||||
types), and \x85 as a line separator for wide characters / Unicode only.
|
||||
<LI>
|
||||
Added a new format flag <A href="match_flag_type.html"><code>format_literal</code></A> that
|
||||
treats the replace string as a literal, rather than a Perl or Sed style <A href="format_syntax.html">
|
||||
format string</A>.
|
||||
<LI>
|
||||
Errors are now reported by throwing exceptions of type <A href="bad_expression.html">
|
||||
<code>regex_error</code></A>. The types used previously - <code>bad_expression</code> and
|
||||
<code>bad_pattern</code> - are now just typedefs for <code>regex_error</code>. Type
|
||||
<code>regex_error</code> has a couple of new members: <code>code()</code> to report an error code rather
|
||||
than a string, and <code>position()</code> to report where in the expression the error
|
||||
occured.</LI></UL>
|
||||
<P>Boost 1.32.1.</P>
|
||||
<UL>
|
||||
<LI>
|
||||
|
@ -54,6 +54,7 @@ static const match_flag_type match_not_dot_null;
|
||||
static const match_flag_type format_default = 0;
|
||||
static const match_flag_type format_sed;
|
||||
static const match_flag_type format_perl;
|
||||
static const match_flag_type format_literal; <BR>
|
||||
static const match_flag_type format_no_copy;
|
||||
static const match_flag_type format_first_only;
|
||||
static const match_flag_type format_all;
|
||||
@ -243,6 +244,12 @@ static const match_flag_type format_all;
|
||||
string, that the new string is constructed using the same rules as Perl 5.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<TR>
|
||||
<TD vAlign="top" width="50%">format_literal</TD>
|
||||
<TD vAlign="top" width="50%">Specified that when a regular expression match is to
|
||||
be replaced by a new string, that the new string is a literal copy of the
|
||||
replacement text.</TD>
|
||||
</TR>
|
||||
<tr>
|
||||
<td valign="top" width="50%" height="32">format_all</td>
|
||||
<td valign="top" width="50%" height="32">Specifies that all syntax extensions are
|
||||
|
@ -45,8 +45,19 @@
|
||||
<LI>
|
||||
Added <A href="unicode.html">Unicode support; based on ICU</A>.
|
||||
<LI>
|
||||
Changed newline support to recognise \f as a line separator (all character
|
||||
types), and \x85 as a line separator for wide characters / Unicode only.</LI></UL>
|
||||
Changed newline support to recognise \f as a line separator (all character
|
||||
types), and \x85 as a line separator for wide characters / Unicode only.
|
||||
<LI>
|
||||
Added a new format flag <A href="match_flag_type.html"><code>format_literal</code></A> that
|
||||
treats the replace string as a literal, rather than a Perl or Sed style <A href="format_syntax.html">
|
||||
format string</A>.
|
||||
<LI>
|
||||
Errors are now reported by throwing exceptions of type <A href="bad_expression.html">
|
||||
<code>regex_error</code></A>. The types used previously - <code>bad_expression</code> and
|
||||
<code>bad_pattern</code> - are now just typedefs for <code>regex_error</code>. Type
|
||||
<code>regex_error</code> has a couple of new members: <code>code()</code> to report an error code rather
|
||||
than a string, and <code>position()</code> to report where in the expression the error
|
||||
occured.</LI></UL>
|
||||
<P>Boost 1.32.1.</P>
|
||||
<UL>
|
||||
<LI>
|
||||
|
@ -54,6 +54,7 @@ static const match_flag_type match_not_dot_null;
|
||||
static const match_flag_type format_default = 0;
|
||||
static const match_flag_type format_sed;
|
||||
static const match_flag_type format_perl;
|
||||
static const match_flag_type format_literal; <BR>
|
||||
static const match_flag_type format_no_copy;
|
||||
static const match_flag_type format_first_only;
|
||||
static const match_flag_type format_all;
|
||||
@ -243,6 +244,12 @@ static const match_flag_type format_all;
|
||||
string, that the new string is constructed using the same rules as Perl 5.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<TR>
|
||||
<TD vAlign="top" width="50%">format_literal</TD>
|
||||
<TD vAlign="top" width="50%">Specified that when a regular expression match is to
|
||||
be replaced by a new string, that the new string is a literal copy of the
|
||||
replacement text.</TD>
|
||||
</TR>
|
||||
<tr>
|
||||
<td valign="top" width="50%" height="32">format_all</td>
|
||||
<td valign="top" width="50%" height="32">Specifies that all syntax extensions are
|
||||
|
Reference in New Issue
Block a user