Re:Parsing HTML Using Regular Expressions
by Tloewald on Saturday July 01, 2017 @07:03PM
(#14679588)
This is a fun (and classic) thread and it's worth reading the pro and con arguments.
It really falls under the old joke "you have a problem and you decide to solve it with regex, now you have two problems". HTML is very gnarly, and regex is very gnarly. Doesn't mean you can't get shit done if you're aware of the pitfalls.
It really falls under the old joke "you have a problem and you decide to solve it with regex, now you have two problems". HTML is very gnarly, and regex is very gnarly. Doesn't mean you can't get shit done if you're aware of the pitfalls.