Skip to content

Commit 6353874

Browse files
authored
Merge pull request javascript-tutorial#270 from ematte/patch-2
fixed typo
2 parents 1c7557c + c0cf5a8 commit 6353874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-regular-expressions/02-regexp-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ We can use special characters in it:
153153
|`$&`|the whole match|
154154
|<code>$&#096;</code>|a part of the string before the match|
155155
|`$'`|a part of the string after the match|
156-
|`$n`|if `n` is a 1-2 digit number, then it means the contents of n-th parentheses counting fro left to right|
156+
|`$n`|if `n` is a 1-2 digit number, then it means the contents of n-th parentheses counting from left to right|
157157
158158
For instance let's use `$&` to replace all entries of `"John"` by `"Mr.John"`:
159159

0 commit comments

Comments
 (0)