diff --git a/README.md b/README.md index 668ebda..a9a1a1a 100644 --- a/README.md +++ b/README.md @@ -593,15 +593,15 @@ possible. We can use `?` to match in a lazy way, which means the match should be This becomes even more useful when using the global flag.
-"/(.*at)/" => The fat cat sat on the mat and another fat cat got jealous..+"/(fa.*?at)/g" => The fat cat sat on the mat and another fat cat got jealous.. Without using this the `?` to match in a lazy way it would look like this.
-"/(.*at)/" => The fat cat sat on the mat and another fat cat got jealous.+"/(fa.*at)/g" => The fat cat sat on the mat and another fat cat got jealous. -[Test the regular expression](https://regex101.com/r/AyAdgJ/2) +[Test the regular expression](https://regex101.com/r/hxE4kq/1) ## Contribution