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

FSMs can't handle nested tags. Pushdown Automata can.


Most "regular" expression engines in modern programming languages can handle back-references (e.g. "(.)\1"), which are actually so complex that you need a full-blown Turing machine to handle them.




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

Search: