Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
xigoi
1y ago
0 comments
Share
Why are they called regular expressions if they can parse non-regular languages?
undefined | Better HN
0 comments
default
newest
oldest
db48x
1y ago
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.
donaldihunter
1y ago
The word 'regular' comes from the mathematical roots of automata and finite state machines.
moomin
1y ago
Which have a one to one correspondence with regular languages, so this isn’t actually an answer to the question.
j
/
k
navigate · click thread line to collapse