in reply to How Greedy is Greedy: A Regex Question

'?' makes things non-greedy. check perlman:perlre for a more complete explaination, and more interesting modifiers....

~Particle

  • Comment on Re: How Greedy is Greedy: A Regex Question