In your example, it did match as many times as possible: once. Matching ab instead of a would not be matching more times, just more characters.
In reply to Re: Greedy regexp matching: differences between man page and implementation?
by Roy Johnson
in thread Greedy regexp matching: differences between man page and implementation?
by stijnvs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |