Hacker News new | ask | show | jobs
by peq 4290 days ago
Regular expressions just need 3 things: sequence, alternatives (|), and repetition(*). Everything else is an extension.
1 comments

And the empty versions/identities of those operations
Right, those three things plus three times nothing. 3 + 3*0 = 3