Compare commits
2 Commits
d107fe018d
...
764e408a5f
Author | SHA1 | Date | |
---|---|---|---|
764e408a5f | |||
a1190fbcd7 |
@ -118,13 +118,16 @@ Write patterns that match the following strings:
|
|||||||
#hint([Remember that the check digit may be an `X`. Dashes are optional.])
|
#hint([Remember that the check digit may be an `X`. Dashes are optional.])
|
||||||
|
|
||||||
- A word of even length. \
|
- A word of even length. \
|
||||||
#hint([The set `[A-z]` contains every english letter, capitalized and lowercase. \
|
#hint([
|
||||||
`[a-z]` will only match lowercase letters.])
|
The set `[A-z]` contains every english letter, capitalized and lowercase. \
|
||||||
|
`[a-z]` will only match lowercase letters.
|
||||||
|
])
|
||||||
|
|
||||||
- A word with exactly 3 vowels. \
|
- A word with exactly 3 vowels. \
|
||||||
#hint([The special token `\w` will match any word character. \
|
#hint([
|
||||||
|
The special token `\w` will match any word character. \
|
||||||
It is equivalent to `[A-z0-9_]`. `_` represents a literal underscore.
|
It is equivalent to `[A-z0-9_]`. `_` represents a literal underscore.
|
||||||
])
|
])
|
||||||
|
|
||||||
- A word that has even length and exactly 3 vowels.
|
- A word that has even length and exactly 3 vowels.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user