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

Are you aware of the pitfalls of parsing HTML with regex?



Yes, but it started to try to use regex so I thought I'd see if it could at least be successful and it wasn't. Despite super simple HTML.

Anyways, I wrote a solution using HTMLRewriter in 10 minutes...




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

Search: