But why blame Perl, other than it's the language eveyone loves to
hate? (Actually, I thought that would be C++.)
I think it's because regexes (*real* perl regexes, not the pale
imitations purists refer to as "regular expressions") are so easy to
use, convenient, and powerful in Perl, unlike other languages (cough,
Java I'm looking at you). Python has them too (and Javascript - I
guess we have to include that now), but re's in these are not
first-class language constructs the way they are in Perl. Perl
practically cries out to the programmer "use regexes! I will give you
magically-scoped variables with all your capture groups. I will drive
your iteration using /g. Your program will be super compact! No more
RSI!" Who cares if your code is unreadable and undebuggable. If you're
sane, you'll use Perl primarily for one-time text-processing tasks.