[doc] Escape asciidoc meta-character

This commit is contained in:
Olivier Perret 2020-07-09 11:58:43 +02:00
parent 60dda1a597
commit 03525779fb

View File

@ -38,8 +38,8 @@ class is negated, meaning that it matches every character not specified
in the character class. in the character class.
Literals match themselves, including syntax characters, so `^` Literals match themselves, including syntax characters, so `^`
does not need to be escaped in a character class. `[*+]` matches both does not need to be escaped in a character class. `[\*+]` matches both
the `*` character and the `+` character. Literal escape sequences are the `\*` character and the `+` character. Literal escape sequences are
supported, so `[\n\r]` matches both the line feed and carriage return supported, so `[\n\r]` matches both the line feed and carriage return
characters. characters.