Nevermind then; got confused after a discussion over chat. This is
exactly what I wanted, thanks for the help.

—Sam

On Tue, Feb 23, 2021, at 13:22, Tedd Sterr wrote:
>  Greedy matching means take as many characters as you can while still
>  satisfying the condition, i.e. find the longest match. Lazy matching
>  means take the first match you find, i.e. find the shortest.
>
> In the form of regular expressions, we have:
>  * greedy = /\*.+\*/
>  * lazy = /\*.+?\*/
>
> The text is already correct.

-- 
Sam Whited
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to