From 1cde7e2d775e83462ff1b86097c579f6fc57d146 Mon Sep 17 00:00:00 2001 From: Gordon Bai Date: Mon, 5 Aug 2019 16:54:13 +0100 Subject: [PATCH] Correct a typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2dee7bc..dd140b7 100644 --- a/README.md +++ b/README.md @@ -278,7 +278,7 @@ regular expression `[0-9]{3}` means: Match exactly 3 digits. ## 2.5 Capturing Group A capturing group is a group of sub-patterns that is written inside Parentheses -`(...)`. Like As we discussed before that in regular expression if we put a quantifier +`(...)`. Like as we discussed before that in regular expression if we put a quantifier after a character then it will repeat the preceding character. But if we put quantifier after a capturing group then it repeats the whole capturing group. For example, the regular expression `(ab)*` matches zero or more repetitions of the character