Dear Monks,
I have a problem in mathcing delimiters. I want to replace
\caption{*} with <caption>*</caption>. I use the following code.
$str=~s#\\caption\{(.[^\}]*)\}#<caption>$1<\/caption>#gis;
But it results in selecting the next immediate close "}" and not finding the last "}".
Please help
Thanks in Advance,
POP