On Apr 1, 2006, at 9:31 AM, Damphyr wrote:
> Why the result? Where id I go wrong?
I see you already got an answer to the other question, I will tackle
this one. In a Regexp, .+ means one or more of anything, but (and
here is the kicker) as many as possible. It will keep eating
characters as long as it can, with the expression still being true.
See Chris reply for how to turn it into one or more of anything, but
as few as possible.
James Edward Gray II