Hacker News new | ask | show | jobs
by arielb1 3957 days ago
Of course using regexes on general-purpose HTML is a bad idea. Using regexes to ensure the sanity of a restricted markdown converter isn't, especially if you want to err on the side of conservatism.