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

This is a case where a little knowledge can be a dangerous thing, because "regexes" are often strictly stronger than just "regular expressions".

(That said, the moral of this story is still correct, i.e. use a parser, but mostly because html-in-the-wild is uniformly awful and it's better to let someone else worry about that).




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

Search: