Skip to content

Commit

Permalink
Update regex-group.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarer committed Oct 11, 2023
1 parent d067fb1 commit 390c77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _sources/regex/regex-group.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ item to their left. The quantifiers are ``?``, ``+``, ``*``, ``{n}``, and ``{n,m

What characters are used to match a digit?

- :\\d|[0-9]: The backslash d is used to match any digit or [0-9] can be used as well.
- :\\d|\[0-9\]: The backslash d is used to match any digit or [0-9] can be used as well.
:d: You are missing something before the d
:/d: Try a backslash instead
:.*: Run the code above
Expand Down

0 comments on commit 390c77d

Please sign in to comment.