Skip to content

Commit 7a6a566

Browse files
committed
minor
1 parent 040aea0 commit 7a6a566

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/10-regexp-greedy-and-lazy

1 file changed

+1
-1
lines changed

9-regular-expressions/10-regexp-greedy-and-lazy/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ To clearly understand the change, let's trace the search step by step.
140140

141141
![](witch_lazy6.svg)
142142

143-
In this example we saw how the lazy mode works for `pattern:+?`. Quantifiers `pattern:+?` and `pattern:??` work the similar way -- the regexp engine increases the number of repetitions only if the rest of the pattern can't match on the given position.
143+
In this example we saw how the lazy mode works for `pattern:+?`. Quantifiers `pattern:*?` and `pattern:??` work the similar way -- the regexp engine increases the number of repetitions only if the rest of the pattern can't match on the given position.
144144

145145
**Laziness is only enabled for the quantifier with `?`.**
146146

0 commit comments

Comments
 (0)