in reply to HTML to text
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |