338
Parsing HTML with regex
(lemmy.sdf.org)
I use Arch btw
Sister communities:
Community rules
Please report posts and comments that break these rules!
Read it again:
"At one point while working on the manuscript for this book. I ran such a tool on what I’d written so far"
The author explicitly stated that he used regex to parse his own book for errors! The example was using regex to parse html.
Just because regex can't do everything in all cases doesn't mean it isn't useful to parse some html and English text.
It's like screaming, "You can't build an Operating system with C because it doesn't solve the halting problem!"