On Mon, 01 Dec 2008 02:57:38 +0100
[EMAIL PROTECTED] ("Jenda Krynicky") wrote:

> 
> OTOH, he can match the innermost [block]...[/block], remove it or 
> replace by something that doesn't contain either "tag", match the 
> next one ...  It would not be pretty, but it would be doable.
> 

And this was the exact thing I wanted to do.

After sending the question and reading the answers, I actually saw that I asked 
the question in a poorly way, as you said. But the thing is, I got answers 
which says "can you clear the question" in a very impolite way, that actually 
pissed me off.

But then came friendlier replies as well, so it is no problem now.

Thanks for the answers. Replacing the tags with 1 character and doing the 
regexp matching is a good trick.


-- 
Canol Gökel <[EMAIL PROTECTED]>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to