in reply to Greedy regexp matching: differences between man page and implementation?
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.