in reply to Re^2: Regex, loops and subs
in thread Regex, loops and subs

Yes, because it avoids the useless look-aheads and backtracks on failed matches.


Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan