Merge pull request #1036 from segayuu/patch-1

Fix typo
This commit is contained in:
Ilya Kantor 2019-06-03 10:19:18 +03:00 committed by GitHub
commit c4593f1a60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ alert( str.match(reg) ); // CSS4
Also we can use many character classes:
```js run
alert( "I love HTML5!".match(/\s\w\w\w\w\d/) ); // 'HTML5'
alert( "I love HTML5!".match(/\s\w\w\w\w\d/) ); // ' HTML5'
```
The match (each character class corresponds to one result character):