From c0cf5a8251b583ea7776a8aa13468c5c4bb8ed98 Mon Sep 17 00:00:00 2001 From: ematte Date: Sun, 22 Oct 2017 22:18:47 +0200 Subject: [PATCH] fixed typo --- 5-regular-expressions/02-regexp-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-regular-expressions/02-regexp-methods/article.md b/5-regular-expressions/02-regexp-methods/article.md index 1d808bf3..362a4d79 100644 --- a/5-regular-expressions/02-regexp-methods/article.md +++ b/5-regular-expressions/02-regexp-methods/article.md @@ -153,7 +153,7 @@ We can use special characters in it: |`$&`|the whole match| |$`|a part of the string before the match| |`$'`|a part of the string after the match| -|`$n`|if `n` is a 1-2 digit number, then it means the contents of n-th parentheses counting fro left to right| +|`$n`|if `n` is a 1-2 digit number, then it means the contents of n-th parentheses counting from left to right| For instance let's use `$&` to replace all entries of `"John"` by `"Mr.John"`: