Re:Why Using .* in Regular Expressions Is Almost Never What ...
by guynamedloren on Wednesday June 04, 2014 @09:40AM
(#7845439)
I've run into this problem so many times. Everywhere I think I want .* , I actually want .*? (non-greedy matching). Make a mental note of this. It'll save you lots of headaches.
[ Parent
| on HN ]
There are no comments on this comment yet.