Hacker News new | past | comments | ask | show | jobs | submit login

Regular expressions just need 3 things: sequence, alternatives (|), and repetition(*). Everything else is an extension.



And the empty versions/identities of those operations


Right, those three things plus three times nothing. 3 + 3*0 = 3




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: