Rob Dixon wrote:
Mike Martin wrote:$line=~s/\!(^\![A-Z][a-z].+)/$1/gc;$line =~ s/^!(![a-z].+)/$1/gi;
You are both using an anchored pattern with the /g option which makes no sense unless you are also using the /m option.
John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/