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>
<td>
<p>
<code class="literal"><br> </code>
<code class="literal">\n</code>
</p>
</td>
<td>
<p>
<code class="literal"><br> </code>
<code class="literal">\n</code>
</p>
</td>
</tr>

View File

@ -299,24 +299,24 @@ The following escape sequences are all synonyms for single characters:
[table
[[Escape][Character]]
[[[^\a]][[^\a]]]
[[[^\e]][[^0x1B]]]
[[[^\f]][[^\f]]]
[[[^\n]][[^\n]]]
[[[^\r]][[^\r]]]
[[[^\t]][[^\t]]]
[[[^\v]][[^\v]]]
[[[^\b]][[^\b] (but only inside a character class declaration).]]
[[[^\cX]][An ASCII escape sequence - the character whose code point is X % 32]]
[[[^\xdd]][A hexadecimal escape sequence - matches the single character whose
[[[^\\a]][[^\\a]]]
[[[^\\e]][[^0x1B]]]
[[[^\\f]][[^\\f]]]
[[[^\\n]][[^\\n]]]
[[[^\\r]][[^\\r]]]
[[[^\\t]][[^\\t]]]
[[[^\\v]][[^\\v]]]
[[[^\\b]][[^\\b] (but only inside a character class declaration).]]
[[[^\\cX]][An ASCII escape sequence - the character whose code point is X % 32]]
[[[^\\xdd]][A hexadecimal escape sequence - matches the single character whose
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.]]
[[[^\0ddd]][An octal escape sequence - matches the single character whose
[[[^\\0ddd]][An octal escape sequence - matches the single character whose
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/.
For example [^\N{newline}] matches the single character \\n.]]
For example [^\\N{newline}] matches the single character \\n.]]
]
[h5 "Single character" character classes:]