Skip to content

Commit 6d11147

Browse files
authored
Merge pull request #873 from jessuni/patch-2
Fix typos
2 parents 8006d3c + 69aaf57 commit 6d11147

File tree

1 file changed

+1
-1
lines changed
  • 5-regular-expressions/04-regexp-escaping

1 file changed

+1
-1
lines changed

5-regular-expressions/04-regexp-escaping/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Here's what a search for a slash `'/'` looks like:
4343
alert( "/".match(/\//) ); // '/'
4444
```
4545

46-
From the other hand, if we're not using `/.../`, but create a regexp using `new RegExp`, then we no need to escape it:
46+
On the other hand, if we're not using `/.../`, but create a regexp using `new RegExp`, then we don't need to escape it:
4747

4848
```js run
4949
alert( "/".match(new RegExp("/")) ); // '/'

0 commit comments

Comments
 (0)