Think about Loose Coupling | |
PerlMonks |
Re^3: regex to rename last _ with ,by dmitri (Priest) |
on Sep 14, 2014 at 12:22 UTC ( [id://1100528]=note: print w/replies, xml ) | Need Help?? |
A couple of reasons. First, I can never remember the exact syntax of the look-around assertions, so I have to perldoc perlre each time I use one. This makes it advanced in my mind. I guess this is highly subjective, so your point is taken.
Second, the more features are used in a regular expression, the more there is to translate when you want to use it in another tool. Doing without look-ahead brings the RE to a lower common denominator, so to speak.
In Section
Seekers of Perl Wisdom
|
|