regex: fix typo in regex character class example (#21441)

This commit is contained in:
Kim Shrier 2024-05-06 01:31:47 -06:00 committed by GitHub
parent 996382fe47
commit 7e02baebd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ but it doesn't match `C` or `z`.
Inside a cc, it is possible to specify a "range" of characters, for example
`[ad-h]` is equivalent to writing `[adefgh]`.
A cc can have different ranges at the same time, for example `[a-zA-z0-9]`
A cc can have different ranges at the same time, for example `[a-zA-Z0-9]`
matches all the latin lowercase, uppercase and numeric characters.
It is possible to negate the meaning of a cc, using the caret char at the