From 0b62c5130a49cb8a0979432ef1eb97b95a0bd9bd Mon Sep 17 00:00:00 2001 From: davidwendt Date: Wed, 10 Feb 2021 08:31:33 -0500 Subject: [PATCH] Fix typo in regex.md doc page --- 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 ee0103da3d7..ad193d2f8b1 100644 --- a/cpp/doxygen/regex.md +++ b/cpp/doxygen/regex.md @@ -62,7 +62,7 @@ The details are based on features documented at https://www.regular-expressions. | Shorthand | `\s` | Adds all whitespace to the character class. Matches a single whitespace character if used outside character classes. | `\s` matches any single whitespace character | | Shorthand | `\D` | Adds all non-digits to the character class. Matches a single character that is not a digit character if used outside character classes. | `[\D]` matches a single character that is not a digit character | | Shorthand | `\W` | Adds all non-word characters to the character class. Matches a single character that is not a word character if used outside character classes. | [`\W`] matches a single character that is not a word character | -| Shorthand | `\s` | Adds all non-whitespace to the character class. Matches a single character that is not a whitespace character if used outside character classes. | `[\S]` matches a single character that is not a whitespace character | +| Shorthand | `\S` | Adds all non-whitespace to the character class. Matches a single character that is not a whitespace character if used outside character classes. | `[\S]` matches a single character that is not a whitespace character | ### Anchors