diff --git a/doc/html/boost_regex/syntax/perl_syntax.html b/doc/html/boost_regex/syntax/perl_syntax.html index 3b2c26fd..e985e24f 100644 --- a/doc/html/boost_regex/syntax/perl_syntax.html +++ b/doc/html/boost_regex/syntax/perl_syntax.html @@ -176,6 +176,13 @@
a
 aaaa
 
+

+ Note that the "{" and "}" characters will treated as + ordinary literals when used in a context that is not a repeat: this matches + Perl 5.x behavior. For example in the expressions "ab{1", "ab1}" + and "a{b}c" the curly brackets are all treated as literals and + no error will be raised. +

It is an error to use a repeat operator, if the preceding construct can not be repeated, for example: diff --git a/doc/html/index.html b/doc/html/index.html index d431db4d..b6af5423 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -198,7 +198,7 @@

- +

Last revised: May 23, 2014 at 12:15:55 GMT

Last revised: September 25, 2014 at 10:52:51 GMT


diff --git a/doc/syntax_perl.qbk b/doc/syntax_perl.qbk index 73fa2814..a7927adc 100644 --- a/doc/syntax_perl.qbk +++ b/doc/syntax_perl.qbk @@ -115,6 +115,11 @@ But neither of: a aaaa +Note that the "{" and "}" characters will treated as ordinary literals when used +in a context that is not a repeat: this matches Perl 5.x behavior. For example in +the expressions "ab{1", "ab1}" and "a{b}c" the curly brackets are all treated as +literals and ['no error will be raised]. + It is an error to use a repeat operator, if the preceding construct can not be repeated, for example: