|Don't ask to ask, just ask|
inline replacement in existing regexby raiten (Acolyte)
|on Nov 30, 2004 at 20:48 UTC||Need Help??|
raiten has asked for the
wisdom of the Perl Monks concerning the following question:
for now it doesn't work if $3 contains multiples lines (aka '\n')
first case, rewrite the rule to make replacement on multiple lines. In general i have few success with this.
seconde case, before this code, i decode the code. so there i can replace '\n' with '%%NEWLINE%%' for example and in the above line reverse.
note: code use with perl/redhat enterprise or activeperl 5.8/winxp