> > That bug report was for /m propagating to a regex used in a subroutine > called from the replacement part of a substitution, which seems to be a > completely different situation. > Note that qr/^foo/ instructs Perl to turn off multi-line mode >perl -le"print qr/^foo/;" (?-xism:^foo) So it's the same situation. Multi-line mode is being propagated to other regexes with multi-line mode off, solely because the "victim" regexes where executed while processing a multi-line regex. ELBThread Previous | Thread Next