in reply to (tye)Re: Help on using alternation grouping star versus dot star.
in thread Help on using alternation grouping star versus dot star.
tye, well there is a reason not to simplify like you suggested:
s#<div class="blockqte">#<pre>#g; # this is OK s#</div>#</pre>#g; # this creates the problems
you replace all </div> with </pre> and if I understood it correctly, not all the <div> tags have the attribute class="blockqte" and should be replaced ... ;-)
-- Hofmator
|
|---|