diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-10-31 14:41:14 +0000 |
---|---|---|
committer | <> | 2014-12-12 16:07:56 +0000 |
commit | ed232fdd34968697a68783b3195b1da4226915b5 (patch) | |
tree | 7a7053ceb8874b28ec4b868d4c49b500008a102e /libs/regex/doc | |
parent | 1c3648bf5b7d17fcd4fe9bc95802b16fd9eee304 (diff) | |
download | boost-tarball-ed232fdd34968697a68783b3195b1da4226915b5.tar.gz |
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_57_0.tar.bz2.boost_1_57_0
Diffstat (limited to 'libs/regex/doc')
-rw-r--r-- | libs/regex/doc/html/boost_regex/syntax/perl_syntax.html | 7 | ||||
-rw-r--r-- | libs/regex/doc/html/index.html | 2 | ||||
-rw-r--r-- | libs/regex/doc/syntax_perl.qbk | 5 |
3 files changed, 13 insertions, 1 deletions
diff --git a/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html b/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html index 3b2c26fd0..e985e24f7 100644 --- a/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html +++ b/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html @@ -177,6 +177,13 @@ <span class="identifier">aaaa</span> </pre> <p> + 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 + <span class="emphasis"><em>no error will be raised</em></span>. + </p> +<p> It is an error to use a repeat operator, if the preceding construct can not be repeated, for example: </p> diff --git a/libs/regex/doc/html/index.html b/libs/regex/doc/html/index.html index d431db4da..b6af5423e 100644 --- a/libs/regex/doc/html/index.html +++ b/libs/regex/doc/html/index.html @@ -198,7 +198,7 @@ </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> -<td align="left"><p><small>Last revised: May 23, 2014 at 12:15:55 GMT</small></p></td> +<td align="left"><p><small>Last revised: September 25, 2014 at 10:52:51 GMT</small></p></td> <td align="right"><div class="copyright-footer"></div></td> </tr></table> <hr> diff --git a/libs/regex/doc/syntax_perl.qbk b/libs/regex/doc/syntax_perl.qbk index 73fa2814e..a7927adcb 100644 --- a/libs/regex/doc/syntax_perl.qbk +++ b/libs/regex/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: |