Correct documentation of '+' and '*' ops

This commit is contained in:
greg 2018-01-22 15:55:44 -05:00
parent d55992bdf0
commit daefed0a34

View File

@ -161,11 +161,7 @@ p
p
| The #[code +] and #[code *] operators are usually interpretted
| "greedily", i.e. longer matches are returned where possible. However, if
| you specify two #[code +] and #[code *] patterns in a row and their
| matches overlap, the first operator will behave non-greedily. This quirk
| in the semantics makes the matcher more efficient, by avoiding the need
| for back-tracking.
| "greedily", i.e. longer matches are returned where possible.
+h(3, "adding-phrase-patterns") Adding phrase patterns