There are .ultiple ways in which a thing can be worthwhile. I don't know that algorithm, but generally I take joy from similar things, so maybe I will look it up. It's now on my list.
https://news.ycombinator.com/item?id=25415441
Roman numerals were easy to chisel into stone. Beyond that, kind of a headache.
However what we call regexes today are, often, a considerably more theoretically powerful tool that can match some[1] non-regular languages. Programmers are tempted to use them as a general purpose matcher, which they absolutely are not. Thus, the punchline of the joke.
[1] As far as I know the exact computational power of perlre isn't proved, but it can describe some subset of the context-free languages at the very least.