From 780ab9bd69bd36676cc501da503e414a3cd5c10f Mon Sep 17 00:00:00 2001 From: Lucky Ozoka Date: Mon, 26 Nov 2018 21:30:35 +0100 Subject: [PATCH] Replace lookaheads with lookarounds in definition of lookarounds --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f52a70..5daf25d 100644 --- a/README.md +++ b/README.md @@ -409,7 +409,7 @@ shorthand character sets are as follows: Lookbehind and lookahead (also called lookaround) are specific types of ***non-capturing groups*** (Used to match the pattern but not included in matching -list). Lookaheads are used when we have the condition that this pattern is +list). Lookarounds are used when we have the condition that this pattern is preceded or followed by another certain pattern. For example, we want to get all numbers that are preceded by `$` character from the following input string `$4.44 and $10.88`. We will use following regular expression `(?<=\$)[0-9\.]*`