Merge remote-tracking branch 'occivink/doc-fix'

This commit is contained in:
Maxime Coste 2020-07-21 19:54:20 +10:00
commit ab25561da2

View File

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