Skip to content

Commit

Permalink
Fix typo in regex.md doc page (#7363)
Browse files Browse the repository at this point in the history
The Regex Features page has a typo
https://docs.rapids.ai/api/libcudf/stable/md_regex.html

The last feature in the **Shorthand Character Classes** section should be `\S` instead of `\s`

Authors:
  - David (@davidwendt)

Approvers:
  - Christopher Harris (@cwharris)
  - Mike Wilson (@hyperbolic2346)

URL: #7363
  • Loading branch information
davidwendt authored Feb 17, 2021
1 parent d180213 commit c929ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/doxygen/regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c929ba1

Please sign in to comment.