How would it cope with something like:
<a href="some_rule" class="an_attribute_on_a_different_line">
Or even
<a href="prev"><--</a> <a href="next">--></a>
Parsing HTML with regexes is full of corner cases like this. It's really not worth the effort, use a real HTML parser instead.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: HTML to text
by davorg
in thread HTML to text
by fatalserpent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |