Hacksaw wrote:
> 
> $str =~ s/--\%\%.*?\%\%--/--\%\%\%\%--/sg;
 
You don't need all those backslashes.  This works as well (and IMHO is
easier to read):

$str =~ s/--%%.*?%%--/--%%%%--/sg;

Alan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to