Escape back slashes

Fixes Trac #12096.

https://svn.boost.org/trac/boost/ticket/12096
This commit is contained in:
Daniel
2017-04-09 13:20:03 +01:00
parent 22aedd996c
commit 791c447922
2 changed files with 16 additions and 16 deletions

View File

@ -578,12 +578,12 @@
<tr> <tr>
<td> <td>
<p> <p>
<code class="literal"><br> </code> <code class="literal">\n</code>
</p> </p>
</td> </td>
<td> <td>
<p> <p>
<code class="literal"><br> </code> <code class="literal">\n</code>
</p> </p>
</td> </td>
</tr> </tr>

View File

@ -299,24 +299,24 @@ The following escape sequences are all synonyms for single characters:
[table [table
[[Escape][Character]] [[Escape][Character]]
[[[^\a]][[^\a]]] [[[^\\a]][[^\\a]]]
[[[^\e]][[^0x1B]]] [[[^\\e]][[^0x1B]]]
[[[^\f]][[^\f]]] [[[^\\f]][[^\\f]]]
[[[^\n]][[^\n]]] [[[^\\n]][[^\\n]]]
[[[^\r]][[^\r]]] [[[^\\r]][[^\\r]]]
[[[^\t]][[^\t]]] [[[^\\t]][[^\\t]]]
[[[^\v]][[^\v]]] [[[^\\v]][[^\\v]]]
[[[^\b]][[^\b] (but only inside a character class declaration).]] [[[^\\b]][[^\\b] (but only inside a character class declaration).]]
[[[^\cX]][An ASCII escape sequence - the character whose code point is X % 32]] [[[^\\cX]][An ASCII escape sequence - the character whose code point is X % 32]]
[[[^\xdd]][A hexadecimal escape sequence - matches the single character whose [[[^\\xdd]][A hexadecimal escape sequence - matches the single character whose
code point is 0xdd.]] code point is 0xdd.]]
[[[^\x{dddd}]][A hexadecimal escape sequence - matches the single character whose [[[^\\x{dddd}]][A hexadecimal escape sequence - matches the single character whose
code point is 0xdddd.]] code point is 0xdddd.]]
[[[^\0ddd]][An octal escape sequence - matches the single character whose [[[^\\0ddd]][An octal escape sequence - matches the single character whose
code point is 0ddd.]] code point is 0ddd.]]
[[[^\N{name}]][Matches the single character which has the [[[^\\N{name}]][Matches the single character which has the
[link boost_regex.syntax.collating_names symbolic name] /name/. [link boost_regex.syntax.collating_names symbolic name] /name/.
For example [^\N{newline}] matches the single character \\n.]] For example [^\\N{newline}] matches the single character \\n.]]
] ]
[h5 "Single character" character classes:] [h5 "Single character" character classes:]