in reply to Greedy regexp matching: differences between man page and implementation?

Be sure to see this meditation for better understanding of how it's supposed to (and does) work.

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.


We're not really tightening our belts, it just feels that way because we're getting fatter.
  • Comment on Re: Greedy regexp matching: differences between man page and implementation?