diff --git a/reference/pcre/pattern.syntax.xml b/reference/pcre/pattern.syntax.xml index 40daa9164c..fd6fc427fc 100644 --- a/reference/pcre/pattern.syntax.xml +++ b/reference/pcre/pattern.syntax.xml @@ -143,7 +143,12 @@ ? - extends the meaning of (, also 0 or 1 quantifier, also quantifier minimizer + + + extends the meaning of (, also 0 or 1 quantifier, also makes greedy + quantifiers lazy (see repetition) + + * @@ -1346,7 +1351,7 @@ However, if a quantifier is followed by a question mark, - then it ceases to be greedy, and instead matches the minimum + then it becomes lazy, and instead matches the minimum number of times possible, so the pattern /\*.*?\*/