parent
84d3ab2a26
commit
b0d830b181
|
@ -279,7 +279,7 @@ You can also match the boundary between words with `\b`. I don't often use this
|
||||||
|
|
||||||
### Character classes and alternatives
|
### Character classes and alternatives
|
||||||
|
|
||||||
There are number of special patterns that match more than one character. You've already seen `.`, which matches any character apart from a newline. There are four other useful tools:
|
There are a number of special patterns that match more than one character. You've already seen `.`, which matches any character apart from a newline. There are four other useful tools:
|
||||||
|
|
||||||
* `\d`: matches any digit.
|
* `\d`: matches any digit.
|
||||||
* `\s`: matches any whitespace (e.g. space, tab, newline).
|
* `\s`: matches any whitespace (e.g. space, tab, newline).
|
||||||
|
|
Loading…
Reference in New Issue