Document \. for regex function (#37014)

This commit is contained in:
Radek Simko 2025-05-13 16:33:18 +01:00 committed by GitHub
parent ee3a518fd7
commit 49cabb5788
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,7 +86,7 @@ of the pattern must be escaped as `\\`.
| `(x)` | unnamed capture group for sub-pattern `x` |
| `(?P<name>x)` | named capture group, named `name`, for sub-pattern `x` |
| `(?:x)` | non-capturing sub-pattern `x` |
| `\*` | Literal `*` for any punctuation character `*` |
| `\*` | Literal `*` for any punctuation character `*` For example, `\.` is a literal `.` |
| `\Q...\E` | Literal `...` for any text `...` as long as it does not include literally `\E` |
In addition to the above matching operators that consume the characters they