mirror of
https://github.com/ziishaned/learn-regex.git
synced 2025-08-04 10:36:33 -04:00
fixed wrong highlighting
This commit is contained in:
parent
8c0e8e106a
commit
c69cce0f11
@ -593,7 +593,7 @@ 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.
|
||||
|
||||
<pre>
|
||||
"/(fa.*?at)/g" => The <a href="#learn-regex"><strong>fat cat</strong></a> sat on the mat and another fat cat <a href="#learn-regex"><strong>got jealous.</strong></a>. </pre>
|
||||
"/(fa.*?at)/g" => The <a href="#learn-regex"><strong>fat cat</strong></a> sat on the mat and another <a href="#learn-regex"><strong>fat cat</strong></a> got jealous.</pre>
|
||||
|
||||
Without using this the `?` to match in a lazy way it would look like this.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user