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

You can, but you probably shouldn't since said regex is likely to be very hard to work with due to the amount of redundant states involved.


Our discourse does a terrible job of distinguishing impossible things from things merely ill-advise. Intellectual honestly requires us to be up front about the difference.

Yeah, I'd almost certainly reject a code review using, say, Python's re module to extract stuff from XML, but while doing so, I would give every reason except "you can't do that".




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

Search: