lazy
Appends a lazy modifier (?
) to the previous quantifier.
Makes the preceding quantifier lazy, causing it to match as few characters as possible. By default, quantifiers are greedy, and will match as many characters as possible.
Content copied to clipboard