Ron Newman said: >>If I intend to write something like >>s/([ab])c/$1c/;
> That's not possible in general, because there could legitimately be a $1 left > over from a previous regex match. the /$1c/ will only get hit if the /([ab])c/ part matches, so if a substitution occurs, $1 will always be the current regexp. if no substitute occurs, $1 will be left over from the previous match, but the /$1c/ won't get hit, so it won't matter. _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

