typo
This commit is contained in:
parent
63243255a0
commit
61bc426051
5 changed files with 11 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
We need to look for `#` followed by 6 hexadimal characters.
|
||||
We need to look for `#` followed by 6 hexadecimal characters.
|
||||
|
||||
A hexadimal character can be described as `pattern:[0-9a-fA-F]`. Or if we use the `i` flag, then just `pattern:[0-9a-f]`.
|
||||
A hexadecimal character can be described as `pattern:[0-9a-fA-F]`. Or if we use the `i` flag, then just `pattern:[0-9a-f]`.
|
||||
|
||||
Then we can look for 6 of them using the quantifier `pattern:{6}`.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Regexp for HTML colors
|
||||
|
||||
Create a regexp to search HTML-colors written as `#ABCDEF`: first `#` and then 6 hexadimal characters.
|
||||
Create a regexp to search HTML-colors written as `#ABCDEF`: first `#` and then 6 hexadecimal characters.
|
||||
|
||||
An example of use:
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ For the full Unicode Character Database in text format (along with all propertie
|
|||
|
||||
There are also other derived categories, like:
|
||||
- `Alphabetic` (`Alpha`), includes Letters `L`, plus letter numbers `Nl` (e.g. roman numbers Ⅻ), plus some other symbols `Other_Alphabetic` (`OAltpa`).
|
||||
- `Hex_Digit` includes hexadimal digits: `0-9`, `a-f`.
|
||||
- `Hex_Digit` includes hexadecimal digits: `0-9`, `a-f`.
|
||||
- ...Unicode is a big beast, it includes a lot of properties.
|
||||
|
||||
For instance, let's look for a 6-digit hex number:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue