From 80eb2c2beeb8da47eadfdb5f4a203d6ce5840db8 Mon Sep 17 00:00:00 2001
From: John Maddock
Date: Thu, 2 Jun 2005 15:55:55 +0000
Subject: [PATCH] Updated history, and added format_literal documentation.
[SVN r29378]
---
doc/Attic/history.html | 15 +++++++++++++--
doc/Attic/match_flag_type.html | 7 +++++++
doc/history.html | 15 +++++++++++++--
doc/match_flag_type.html | 7 +++++++
4 files changed, 40 insertions(+), 4 deletions(-)
diff --git a/doc/Attic/history.html b/doc/Attic/history.html
index c3a4907b..30258acf 100644
--- a/doc/Attic/history.html
+++ b/doc/Attic/history.html
@@ -45,8 +45,19 @@
Added Unicode support; based on ICU.
- Changed newline support to recognise \f as a line separator (all character
- types), and \x85 as a line separator for wide characters / Unicode only.
+ Changed newline support to recognise \f as a line separator (all character
+ types), and \x85 as a line separator for wide characters / Unicode only.
+
+ Added a new format flag format_literal
that
+ treats the replace string as a literal, rather than a Perl or Sed style
+ format string.
+
+ Errors are now reported by throwing exceptions of type
+ regex_error
. The types used previously - bad_expression
and
+ bad_pattern
- are now just typedefs for regex_error
. Type
+ regex_error
has a couple of new members: code()
to report an error code rather
+ than a string, and position()
to report where in the expression the error
+ occured.
Boost 1.32.1.
-
diff --git a/doc/Attic/match_flag_type.html b/doc/Attic/match_flag_type.html
index d78d7ea6..64f61402 100644
--- a/doc/Attic/match_flag_type.html
+++ b/doc/Attic/match_flag_type.html
@@ -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;
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.
+
+ format_literal |
+ 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. |
+
format_all |
Specifies that all syntax extensions are
diff --git a/doc/history.html b/doc/history.html
index c3a4907b..30258acf 100644
--- a/doc/history.html
+++ b/doc/history.html
@@ -45,8 +45,19 @@
Added Unicode support; based on ICU.
- Changed newline support to recognise \f as a line separator (all character
- types), and \x85 as a line separator for wide characters / Unicode only.
+ Changed newline support to recognise \f as a line separator (all character
+ types), and \x85 as a line separator for wide characters / Unicode only.
+
+ Added a new format flag format_literal that
+ treats the replace string as a literal, rather than a Perl or Sed style
+ format string.
+
+ Errors are now reported by throwing exceptions of type
+ regex_error . The types used previously - bad_expression and
+ bad_pattern - are now just typedefs for regex_error . Type
+ regex_error has a couple of new members: code() to report an error code rather
+ than a string, and position() to report where in the expression the error
+ occured.
Boost 1.32.1.
-
diff --git a/doc/match_flag_type.html b/doc/match_flag_type.html
index d78d7ea6..64f61402 100644
--- a/doc/match_flag_type.html
+++ b/doc/match_flag_type.html
@@ -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;
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.
|
+
+ format_literal |
+ 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. |
+
format_all |
Specifies that all syntax extensions are
|