Re: Perlstorm #0040

2000-09-27 Thread Ilya Zakharevich
== > I lie: the other reason qr{} currently doesn't behave like that is that > when we interpolate a compiled regexp into a context that requires it be > recompiled, Interpolated qr() items shouldn't be recompiled anyway. They s

Re: Perlstorm #0040

2000-09-24 Thread Richard Proctor
On Sun 24 Sep, Hugo wrote: > In <[EMAIL PROTECTED]>, Richard Proctor > writes > : > :TomCs perl storm has: > : > :> Figure out way to do > :> > :> /$e1 $e2/ > :> > :> safely, where $e1 might have '(foo) \1' in it. > :> and $e2 might have '(bar) \1' in it. Those won't work. > : > :If e1 a

Re: Perlstorm #0040

2000-09-23 Thread Mark-Jason Dominus
> I lie: the other reason qr{} currently doesn't behave like that is that > when we interpolate a compiled regexp into a context that requires it be > recompiled, Interpolated qr() items shouldn't be recompiled anyway. They should be treated as subroutine calls. Unfortunately, this requires a

Re: Perlstorm #0040

2000-09-23 Thread Hugo
In <[EMAIL PROTECTED]>, Richard Proctor writes : :TomCs perl storm has: : :> Figure out way to do :> :> /$e1 $e2/ :> :> safely, where $e1 might have '(foo) \1' in it. :> and $e2 might have '(bar) \1' in it. Those won't work. : :If e1 and e2 are qr// type things the answer might be to loca

Perlstorm #0040

2000-09-23 Thread Richard Proctor
TomCs perl storm has: > Figure out way to do > > /$e1 $e2/ > > safely, where $e1 might have '(foo) \1' in it. > and $e2 might have '(bar) \1' in it. Those won't work. If e1 and e2 are qr// type things the answer might be to localise the backref numbers in each qr// expression. If th