changes
This commit is contained in:
parent
b6ed18e70d
commit
c9401b3104
15 changed files with 231 additions and 233 deletions
|
@ -8,7 +8,7 @@ A character class is a special notation that matches any symbol from the set.
|
|||
|
||||
For instance, there's a "digit" class. It's written as `\d`. We put it in the pattern, and during the search any digit matches it.
|
||||
|
||||
That is: a regexp `pattern:/\d/` looks for a digit:
|
||||
For instance, the regexp `pattern:/\d/` looks for a single digit:
|
||||
|
||||
```js run
|
||||
let str = "+7(903)-123-45-67";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue