On Fri, 2003-09-26 at 12:25, Jeremy Muhlich wrote:
> On Fri, 2003-09-26 at 11:48, Ron Newman wrote:
> > my $r2 = qr/this/x;
>
> I can't think of any way to override that from "outside" those parens.
Well, you *could* do:
lc($s) =~ $r2
but I figure that't not really what you're looking for...
On Fri, 2003-09-26 at 11:48, Ron Newman wrote:
> my $r2 = qr/this/x;
If you print out $r2, you'll see:
(?x-ism:this)
So perl is applying the /x modifier by setting the x flag and unsetting
the ism flags in a group that encompasses the entire pattern. I can't
think of any way to override that
2 matches
Mail list logo