From 0d686002150ff48e917422ad14da12173565ca95 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Mon, 10 Jan 2022 14:24:14 -0500 Subject: [PATCH] Fix regex doc describing hexadecimal escape characters --- cpp/doxygen/regex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/doxygen/regex.md b/cpp/doxygen/regex.md index b721448b45a..76ebb48d195 100644 --- a/cpp/doxygen/regex.md +++ b/cpp/doxygen/regex.md @@ -30,7 +30,7 @@ The details are based on features documented at https://www.regular-expressions. | Literal character | Any character except `[\^$.⎮?*+()` | All characters except the listed special characters match a single instance of themselves | `a` matches `a` | | Literal curly braces | `{` and `}` | `{` and `}` are literal characters, unless they are part of a valid regular expression token such as a quantifier `{3}` | `{` matches `{` | | Backslash escapes a metacharacter | `\` followed by any of `[\^$.⎮?*+(){}` | A backslash escapes special characters to suppress their special meaning | `\*` matches `*` | -| Hexadecimal escape | `\xFF` where `FF` are 2 hexadecimal digits | Matches the character at the specified position in the code page | `\xA9` matches `©` | +| Hexadecimal escape | `\xFF` where `FF` are 2 hexadecimal digits | Matches the character at the specified position in the ASCII table | `\x40` matches `@` | | Character escape | `\n`, `\r` and `\t` | Match an line-feed (LF) character, carriage return (CR) character and a tab character respectively | `\r\n` matches a Windows CRLF line break | | Character escape | `\a` | Match the "alert" or "bell" control character (ASCII 0x07) | | | Character escape | `\f` | Match the form-feed control character (ASCII 0x0C) | |