Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
crispyambulance
on May 10, 2021
|
parent
|
context
|
favorite
| on:
Solving the regex of madness, and snarky answers o...
I would rather use a robust battle-tested parser and handle that edge case separately than to create regex for all of xhtml, copied off an opinionated blog, as a "hail-mary".
goto11
on May 10, 2021
[–]
But the question is specifically about that edge case! So how to handle it, if the "robust battle-tested parser" is of no help?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: