Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82672 - in trunk/libs/regex/doc: . html html/boost_regex/syntax
From: john_at_[hidden]
Date: 2013-02-06 20:23:46


Author: johnmaddock
Date: 2013-01-31 12:49:21 EST (Thu, 31 Jan 2013)
New Revision: 82672
URL: http://svn.boost.org/trac/boost/changeset/82672

Log:
Fix quickbook markup.
Fixes #7958.
Text files modified:
   trunk/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html | 14 ++++++++------
   trunk/libs/regex/doc/html/index.html | 2 +-
   trunk/libs/regex/doc/syntax_perl.qbk | 6 +++---
   3 files changed, 12 insertions(+), 10 deletions(-)

Modified: trunk/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html
==============================================================================
--- trunk/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html (original)
+++ trunk/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html 2013-01-31 12:49:21 EST (Thu, 31 Jan 2013)
@@ -405,7 +405,8 @@
         characters</a>
       </h6>
 <p>
- For example =[abc]=, will match any of the characters 'a', 'b', or 'c'.
+ For example <code class="literal">[abc]</code>, will match any of the characters 'a',
+ 'b', or 'c'.
       </p>
 <h6>
 <a name="boost_regex.syntax.perl_syntax.h13"></a>
@@ -413,10 +414,11 @@
         ranges</a>
       </h6>
 <p>
- For example =[a-c]= will match any single character in the range 'a' to 'c'.
- By default, for Perl regular expressions, a character x is within the range
- y to z, if the code point of the character lies within the codepoints of
- the endpoints of the range. Alternatively, if you set the <a class="link" href="../ref/syntax_option_type/syntax_option_type_perl.html" title="Options for Perl Regular Expressions"><code class="literal">collate</code>
+ For example <code class="literal">[a-c]</code> will match any single character in the
+ range 'a' to 'c'. By default, for Perl regular expressions, a character x
+ is within the range y to z, if the code point of the character lies within
+ the codepoints of the endpoints of the range. Alternatively, if you set the
+ <a class="link" href="../ref/syntax_option_type/syntax_option_type_perl.html" title="Options for Perl Regular Expressions"><code class="literal">collate</code>
         flag</a> when constructing the regular expression, then ranges are locale
         sensitive.
       </p>
@@ -426,7 +428,7 @@
       </h6>
 <p>
         If the bracket-expression begins with the ^ character, then it matches the
- complement of the characters it contains, for example =<code class="literal">a-c</code>=
+ complement of the characters it contains, for example <code class="literal">[^a-c]</code>
         matches any character that is not in the range <code class="literal">a-c</code>.
       </p>
 <h6>

Modified: trunk/libs/regex/doc/html/index.html
==============================================================================
--- trunk/libs/regex/doc/html/index.html (original)
+++ trunk/libs/regex/doc/html/index.html 2013-01-31 12:49:21 EST (Thu, 31 Jan 2013)
@@ -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: November 29, 2012 at 10:43:51 GMT</small></p></td>
+<td align="left"><p><small>Last revised: January 31, 2013 at 17:33:20 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>

Modified: trunk/libs/regex/doc/syntax_perl.qbk
==============================================================================
--- trunk/libs/regex/doc/syntax_perl.qbk (original)
+++ trunk/libs/regex/doc/syntax_perl.qbk 2013-01-31 12:49:21 EST (Thu, 31 Jan 2013)
@@ -218,11 +218,11 @@
 
 [h5 Single characters]
 
-For example =[abc]=, will match any of the characters 'a', 'b', or 'c'.
+For example [^\[abc\]], will match any of the characters 'a', 'b', or 'c'.
 
 [h5 Character ranges]
 
-For example =[a-c]= will match any single character in the range 'a' to 'c'.
+For example [^\[a-c\]] will match any single character in the range 'a' to 'c'.
 By default, for Perl regular expressions, a character x is within the
 range y to z, if the code point of the character lies within the codepoints of
 the endpoints of the range. Alternatively, if you set the
@@ -232,7 +232,7 @@
 [h5 Negation]
 
 If the bracket-expression begins with the ^ character, then it matches the
-complement of the characters it contains, for example =[^a-c]= matches
+complement of the characters it contains, for example [^\[^a-c\]] matches
 any character that is not in the range =a-c=.
 
 [h5 Character classes]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk