Hacker News new | ask | show | jobs
by xigoi 588 days ago
Why are they called regular expressions if they can parse non-regular languages?
2 comments

It’s gradually got so. <https://youtu.be/JIlpjJnc6qY?t=54>

Literally, Larry Wall was adding things to regexes all the way back before the release of Perl 2.

The word 'regular' comes from the mathematical roots of automata and finite state machines.
Which have a one to one correspondence with regular languages, so this isn’t actually an answer to the question.