diff --git a/doc/html/boost_regex/background_information.html b/doc/html/boost_regex/background_information.html index 44b9fc3b..9cf4e305 100644 --- a/doc/html/boost_regex/background_information.html +++ b/doc/html/boost_regex/background_information.html @@ -3,7 +3,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,12 +24,12 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -23,11 +23,11 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,20 +24,20 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
- In Boost.Regex all these are accessible via the match_results
class that gets filled
- in when calling one of the regular expression matching algorithms ( regex_search
, regex_match
, or regex_iterator
). So given:
+ In Boost.Regex all these are accessible via the match_results
class that gets filled
+ in when calling one of the regular expression matching algorithms ( regex_search
, regex_match
, or regex_iterator
). So given:
boost::match_results<IteratorType> m; ++boost::match_results<IteratorType> m;The Perl and Boost.Regex equivalents are as follows: @@ -208,18 +209,18 @@
- In Boost.Regex each sub-expression match is represented by a sub_match
object, this is basically
+ In Boost.Regex each sub-expression match is represented by a sub_match
object, this is basically
just a pair of iterators denoting the start and end position of the sub-expression
match, but there are some additional operators provided so that objects of
- type sub_match
+ type sub_match
behave a lot like a std::basic_string
: for example they are implicitly
convertible to a basic_string
,
they can be compared to a string, added to a string, or streamed out to an
output stream.
When a regular expression match is found there is no need for all of the marked
@@ -231,8 +232,8 @@
you can determine which sub-expressions matched by accessing the sub_match::matched
data member.
When a marked sub-expression is repeated, then the sub-expression gets "captured" @@ -255,7 +256,8 @@ the regular expression matching. The following example program shows how this information may be used:
-#include <boost/regex.hpp> ++#include <boost/regex.hpp> #include <iostream> void print_captures(const std::string& regx, const std::string& text) diff --git a/doc/html/boost_regex/configuration.html b/doc/html/boost_regex/configuration.html index 781e7acb..3754e54d 100644 --- a/doc/html/boost_regex/configuration.html +++ b/doc/html/boost_regex/configuration.html @@ -3,7 +3,7 @@Configuration - + @@ -12,7 +12,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,13 +24,13 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,20 +24,22 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,13 +24,14 @@
Note |
---|
- Comparisons between |
-
template <class charT, class traits> ++template <class charT, class traits> bool operator == (const basic_regex<charT, traits>& lhs, const basic_regex<charT, traits>& rhs);@@ -1222,7 +1255,8 @@-
template <class charT, class traits> ++template <class charT, class traits> bool operator != (const basic_regex<charT, traits>& lhs, const basic_regex<charT, traits>& rhs);@@ -1232,7 +1266,8 @@-
template <class charT, class traits> ++template <class charT, class traits> bool operator < (const basic_regex<charT, traits>& lhs, const basic_regex<charT, traits>& rhs);@@ -1242,7 +1277,8 @@-
template <class charT, class traits> ++template <class charT, class traits> bool operator <= (const basic_regex<charT, traits>& lhs, const basic_regex<charT, traits>& rhs);@@ -1252,7 +1288,8 @@-
template <class charT, class traits> ++template <class charT, class traits> bool operator >= (const basic_regex<charT, traits>& lhs, const basic_regex<charT, traits>& rhs);@@ -1262,7 +1299,8 @@-
template <class charT, class traits> ++template <class charT, class traits> bool operator > (const basic_regex<charT, traits>& lhs, const basic_regex<charT, traits>& rhs);@@ -1282,7 +1320,8 @@
-
template <class charT, class io_traits, class re_traits> ++template <class charT, class io_traits, class re_traits> basic_ostream<charT, io_traits>& operator << (basic_ostream<charT, io_traits>& os const basic_regex<charT, re_traits>& e); @@ -1292,7 +1331,8 @@-
template <class charT, class traits> ++template <class charT, class traits> void swap(basic_regex<charT, traits>& lhs, basic_regex<charT, traits>& rhs);diff --git a/doc/html/boost_regex/ref/concepts.html b/doc/html/boost_regex/ref/concepts.html index ee5aee34..9e56ceb4 100644 --- a/doc/html/boost_regex/ref/concepts.html +++ b/doc/html/boost_regex/ref/concepts.html @@ -3,7 +3,7 @@Concepts - + @@ -12,7 +12,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,11 +24,11 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,18 +24,18 @@
The following additional requirements are strictly optional, however in
- order for basic_regex
+ order for basic_regex
to take advantage of these additional interfaces, all of the following
- requirements must be met; basic_regex
will detect the presence
+ requirements must be met; basic_regex
will detect the presence
or absense of the member boost_extensions_tag
and configure itself appropriately.
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
- Assignment operator, equivalent to calling |
@@ -224,7 +226,7 @@
- Assignment operator, equivalent to calling |
@@ -242,7 +244,7 @@
Attempts to match the current expression against the text p
- using the match flags flags - see |
Attempts to match the current expression against the text s
- using the |
Attempts to find a match for the current expression somewhere in
- the text p using the |
@@ -344,7 +346,7 @@
Attempts to find a match for the current expression somewhere in
- the text s using the |
@@ -363,7 +365,7 @@
Finds all matches of the current expression in the text p
- using the |
Finds all matches of the current expression in the text s
- using the |
Finds all matches of the current expression in the text p
- using the |
Finds all matches of the current expression in the text s
- using the |
Finds all matches of the current expression in the text p
- using the |
Finds all matches of the current expression in the text s
- using the |
Finds all matches of the current expression in the files files
- using the |
Finds all matches of the current expression in the files files
- using the @@ -562,7 +564,7 @@ |
Searches files to find all those which contain at least one match
- of the current expression using the |
Searches files to find all those which contain at least one match
- of the current expression using the
@@ -641,8 +643,8 @@
If copy is true then all unmatched sections
of input are copied unchanged to output, if the flag format_first_only
is set then only the first occurance of the pattern found is replaced.
- Returns the new string. See also format
- string syntax, and |
@@ -669,8 +671,8 @@
If copy is true then all unmatched sections
of input are copied unchanged to output, if the flag format_first_only
is set then only the first occurance of the pattern found is replaced.
- Returns the new string. See also format
- string syntax, and
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,21 +24,22 @@
template <class iterator, class Allocator, class charT> ++template <class iterator, class Allocator, class charT> std::basic_string<charT> regex_format (const match_results<iterator, Allocator>& m, const charT* fmt, @@ -125,7 +128,7 @@@@ -158,11 +161,11 @@ - An instance of
match_results
obtained + An instance ofmatch_results
obtained from one of the matching algorithms above, and denoting what matched.
- Format flags are described under match_flag_type
.
+ Format flags are described under match_flag_type
.
The format string syntax (and available options) is described more fully - under format strings. + under format strings.
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,26 +24,28 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,26 +24,28 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,17 +24,18 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,15 +24,16 @@
Specifies that the expression should be matched according to the - POSIX leftmost-longest + POSIX leftmost-longest rule, regardless of what kind of expression was compiled. Be warned that these rules do not work well with many Perl-specific features such as non-greedy repeats. @@ -343,7 +344,7 @@ |
Specifies that the expression should be matched according to the - Perl + Perl matching rules, irrespective of what kind of expression was compiled. @@ -358,7 +359,7 @@ |
Makes the expression behave as if it had no marked subexpressions,
- no matter how many capturing groups are actually present. The - This is functionally identical to the Perl + This is functionally identical to the Perl format string rules. @@ -400,7 +401,7 @@ Specifies that when a regular expression match is to be replaced by a new string, that the new string is constructed using the rules used by the Unix sed utility in IEEE Std 1003.1-2001, Portable Operating - SystemInterface (POSIX ), Shells and Utilities. See also the Sed Format string reference. + SystemInterface (POSIX ), Shells and Utilities. See also the Sed Format string reference. |
Specifies that when a regular expression match is to be replaced - by a new string, that the new string is constructed using the + by a new string, that the new string is constructed using the same rules as Perl 5. |
@@ -441,7 +442,7 @@
Specifies that all syntax extensions are enabled, including conditional - (?ddexpression1:expression2) replacements: see the format + (?ddexpression1:expression2) replacements: see the format string guide for more details. |
diff --git a/doc/html/boost_regex/ref/match_results.html b/doc/html/boost_regex/ref/match_results.html
index 98d7adf3..41dee670 100644
--- a/doc/html/boost_regex/ref/match_results.html
+++ b/doc/html/boost_regex/ref/match_results.html
@@ -3,7 +3,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,13 +24,14 @@
-
match_results(const match_results& m); ++match_results(const match_results& m);Effects: Constructs an object of class match_results, @@ -225,7 +229,8 @@
-
match_results& operator=(const match_results& m); ++match_results& operator=(const match_results& m);Effects: Assigns m to *this. The postconditions @@ -349,32 +354,36 @@
-
size_type size()const; ++size_type size()const;- Effects: Returns the number of
sub_match
elements stored in *this; + Effects: Returns the number ofsub_match
elements stored in *this; that is the number of marked sub-expressions in the regular expression that was matched plus one.-
size_type max_size()const; ++size_type max_size()const;Effects: Returns the maximum number of -
sub_match
+sub_match
elements that can be stored in *this.-
bool empty()const; ++bool empty()const;Effects: Returns size() == 0.
-
difference_type length(int sub = 0)const; ++difference_type length(int sub = 0)const;Effects: Returns the length of sub-expression @@ -382,7 +391,8 @@
-
difference_type position(unsigned int sub = 0)const; ++difference_type position(unsigned int sub = 0)const;Effects: Returns the starting location of @@ -393,7 +403,8 @@
-
string_type str(int sub = 0)const; ++string_type str(int sub = 0)const;Effects: Returns sub-expression sub @@ -401,39 +412,43 @@
-
const_reference operator[](int n) const; ++const_reference operator[](int n) const;- Effects: Returns a reference to the
sub_match
+ Effects: Returns a reference to thesub_match
object representing the character sequence that matched marked sub-expression n. Ifn == 0
then returns - a reference to asub_match
object representing the + a reference to asub_match
object representing the character sequence that matched the whole regular expression. If n is out of range, or if n is an unmatched sub-expression, - then returns asub_match
+ then returns asub_match
object whose matched member is false.-
const_reference prefix()const; ++const_reference prefix()const;- Effects: Returns a reference to the
sub_match
+ Effects: Returns a reference to thesub_match
object representing the character sequence from the start of the string being matched or searched, to the start of the match found.-
const_reference suffix()const; ++const_reference suffix()const;- Effects: Returns a reference to the
sub_match
+ Effects: Returns a reference to thesub_match
object representing the character sequence from the end of the match found to the end of the string being matched or searched.-
const_iterator begin()const; ++const_iterator begin()const;Effects: Returns a starting iterator that @@ -441,7 +456,8 @@
-
const_iterator end()const; ++const_iterator end()const;Effects: Returns a terminating iterator @@ -449,7 +465,8 @@
-
template <class OutputIterator> ++template <class OutputIterator> OutputIterator format(OutputIterator out, const string_type& fmt, match_flag_type flags = format_default); @@ -470,14 +487,15 @@ Chapter 15 part 5.4.11 String.prototype.replace.- See the format syntax guide for more information. + See the format syntax guide for more information.
Returns: out.
-
string_type format(const string_type& fmt, ++string_type format(const string_type& fmt, match_flag_type flags = format_default);@@ -490,11 +508,12 @@ Chapter 15 part 5.4.11 String.prototype.replace.
- See the format syntax guide for more information. + See the format syntax guide for more information.
-
allocator_type get_allocator()const; ++allocator_type get_allocator()const;Effects: Returns a copy of the Allocator @@ -502,7 +521,8 @@
-
void swap(match_results& that); ++void swap(match_results& that);Effects: Swaps the contents of the two sequences. @@ -517,7 +537,8 @@
-
typedef typename value_type::capture_sequence_type capture_sequence_type; ++typedef typename value_type::capture_sequence_type capture_sequence_type;Defines an implementation-specific type that satisfies the requirements of @@ -527,7 +548,8 @@
-
const capture_sequence_type& captures(std::size_t i)const; ++const capture_sequence_type& captures(std::size_t i)const;Effects: returns a sequence containing all @@ -539,7 +561,7 @@
Preconditions: the library must be built and used with BOOST_REGEX_MATCH_EXTRA defined, and you must pass the flag - match_extra to the regex matching functions (
regex_match
,regex_search
,regex_iterator
orregex_token_iterator
) in order for + match_extra to the regex matching functions (regex_match
,regex_search
,regex_iterator
orregex_token_iterator
) in order for this member function to be defined and return useful information.-
template <class BidirectionalIterator, class Allocator> ++template <class BidirectionalIterator, class Allocator> bool operator == (const match_results<BidirectionalIterator, Allocator>& m1, const match_results<BidirectionalIterator, Allocator>& m2);@@ -573,7 +596,8 @@-
template <class BidirectionalIterator, class Allocator> ++template <class BidirectionalIterator, class Allocator> bool operator != (const match_results<BidirectionalIterator, Allocator>& m1, const match_results<BidirectionalIterator, Allocator>& m2);@@ -583,7 +607,8 @@-
template <class charT, class traits, class BidirectionalIterator, class Allocator> ++template <class charT, class traits, class BidirectionalIterator, class Allocator> basic_ostream<charT, traits>& operator << (basic_ostream<charT, traits>& os, const match_results<BidirectionalIterator, Allocator>& m); @@ -596,7 +621,8 @@-
template <class BidirectionalIterator, class Allocator> ++template <class BidirectionalIterator, class Allocator> void swap(match_results<BidirectionalIterator, Allocator>& m1, match_results<BidirectionalIterator, Allocator>& m2);diff --git a/doc/html/boost_regex/ref/non_std_strings.html b/doc/html/boost_regex/ref/non_std_strings.html index a220407d..3bbbcef4 100644 --- a/doc/html/boost_regex/ref/non_std_strings.html +++ b/doc/html/boost_regex/ref/non_std_strings.html @@ -3,7 +3,7 @@Interfacing With Non-Standard String Types - + @@ -12,7 +12,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,13 +24,14 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,11 +24,11 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,22 +24,23 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,19 +24,21 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,7 +24,7 @@
![]() |
-Home | +Home | Libraries | People | FAQ | @@ -24,19 +24,20 @@