From 121f3c7bbc9c9dfa5546bfd55e78cd22e447c272 Mon Sep 17 00:00:00 2001 From: Monster_01 <89054489+Charan-happy@users.noreply.github.com> Date: Thu, 23 Jun 2022 07:40:41 +0530 Subject: [PATCH] Update 12_day_regular_expressions.md the first program snippet in quantifiers section output was "null" . the out put error at line no: 382 --- 12_Day_Regular_expressions/12_day_regular_expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12_Day_Regular_expressions/12_day_regular_expressions.md b/12_Day_Regular_expressions/12_day_regular_expressions.md index ef83882..1fc4369 100644 --- a/12_Day_Regular_expressions/12_day_regular_expressions.md +++ b/12_Day_Regular_expressions/12_day_regular_expressions.md @@ -379,7 +379,7 @@ We can specify the length of the substring we look for in a text, using a curly const txt = 'This regular expression example was made in December 6, 2019.' const pattern = /\\b\w{4}\b/g // exactly four character words const matches = txt.match(pattern) -console.log(matches) //['This', 'made', '2019'] +console.log(matches) //null ``` ```js