[% setvar title Ban Perl hooks into regexes %]
Note: these documents may be out of date. Do not use as reference! |
To see what is currently happening visit http://www.perl6.org/
Ban Perl hooks into regexes
Maintainer: Simon Cozens <simon@brecon.co.uk> Date: 25 Sep 2000 Mailing List: perl6-language-regex@perl.org Number: 308 Version: 1 Status: Developing
Remove ?{ code }
, ??{ code }
and friends.
The regular expression engine may well be rewritten from scratch or borrowed from somewhere else. One of the scarier things we've seen recently is that Perl's engine casts back its Krakken tentacles into Perl and executes Perl code. This is spooky, tangled, and incestuous. (Although admittedly fun.)
It would be preferable to keep the regular expression engine as self-contained as possible, if nothing else to enable it to be used either outside Perl or inside standalone translated Perl programs without a Perl runtime.
To do this, we'll have to remove the bits of the engine that call
Perl code. In short: ?{ code }
and ??{ code }
must die.
It's more of an unimplementation really.
None.