Before there was python, before there was node, there was perl. It’s old, it’s crufty, it’s a product of a bygone age, but even today if you want to do something with regular expressions and ingesting text it’s still one of the easiest options. Of course it’s highly debatable if you should ever use regex to ingest text.
That’s probably why I like Rust so much. I’ve felt for a long time now that after the concept of null, the widespread embrace of OO is probably the second worst decision in programming. While it was certainly better than the goto hell that preceded it, inheritance I think has ultimately proven to be a trap.