Perl is amazing when it comes to regular expressions too. It's one of the reasons why perl is way more fun to write than Python. I still use perl for regex heavy tasks. I wish that python had integrated regex into the language the same way.
Re:Perl's decline was cultural
by zippyman55 on Sunday December 07, 2025 @02:31AM
(#46179921)
My fingers have long forgotten all the PERL they once knew. But it was always pleasant.
Python is pretty good too for this and because modern computers are so fast it doesn't matter that it's much slower than perl, but if you're doing something like processing terabytes of files, it's probably worth your time to find or vibe code a one-liner in perl and torture it into working for your task.