Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think we should just use term regex and leave term regular expressions for, you know, actual regular expressions.


What should these be called? Context-free expressions?


The language

    (.*)\1
is not context-free.

Also it's not clear if regexes with backreferences can parse XML, which is context-free.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: