Re: Perlstorm #0040

[email protected] (Mark-Jason Dominus) Sun, 24 Sep 2000 03:57:00 +0000
Newsgroups perl.perl6.language.regex
Message-ID <[email protected]>
> 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
reentrant regex engine, which Perl doesn't have.  But I think it's the
right way to go, and it would solve the backreference problem, as well
as many other related problems.