setUngreedy

setUngreedy(enable: Boolean): JadeRegexPattern;

This fluent‑style method returns its own modified receiver, to allow call chaining. (By default, a quantifier tells Regex to match as many instances of its quantified token or sub‑pattern as possible.)

Call the setUngreedy method of the JadeRegexPattern class with the enable parameter set to true to invert the greediness of quantifiers within a pattern so that they are not greedy by default, but become greedy if followed by "?".

You can also specify that an operation is ungreedy (lazy), by setting the (?U) option setting within the pattern.

2020.0.01 and higher