This commit is contained in:
Ilya Kantor 2017-03-23 11:06:57 +03:00
parent b6ed18e70d
commit c9401b3104
15 changed files with 231 additions and 233 deletions

View file

@ -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";