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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue