add a heading for greedy vs non-greedy

This commit is contained in:
Igor Irianto 2021-02-06 08:47:36 -08:00
parent c75e2e88ed
commit 5c5082aeb5

View File

@ -566,7 +566,9 @@ strawberry sweetcake
blueberry hotdog
```
You can also substitute the nth match in a line with this trick:
## Greedy And Non-Greedy
You can substitute the nth match in a line with this trick:
```
One Mississippi, two Mississippi, three Mississippi, four Mississippi, five Mississippi.