Skip to content

Commit c4593f1

Browse files
authored
Merge pull request #1036 from segayuu/patch-1
Fix typo
2 parents b88b4dc + 7067d62 commit c4593f1

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/03-regexp-character-classes

1 file changed

+1
-1
lines changed

9-regular-expressions/03-regexp-character-classes/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ alert( str.match(reg) ); // CSS4
6161
Also we can use many character classes:
6262

6363
```js run
64-
alert( "I love HTML5!".match(/\s\w\w\w\w\d/) ); // 'HTML5'
64+
alert( "I love HTML5!".match(/\s\w\w\w\w\d/) ); // ' HTML5'
6565
```
6666

6767
The match (each character class corresponds to one result character):

0 commit comments

Comments
 (0)