[% setvar title Ban Perl hooks into regexes %]

This file is part of the Perl 6 Archive

To see what is currently happening visit http://www.perl6.org/

TITLE

Ban Perl hooks into regexes

VERSION

  Maintainer: Simon Cozens <simon@brecon.co.uk>
  Date: 25 Sep 2000 
  Mailing List: perl6-language-regex@perl.org
  Number: 308
  Version: 1
  Status: Developing

ABSTRACT

Remove ?{ code }, ??{ code } and friends.

DESCRIPTION

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.

IMPLEMENTATION

It's more of an unimplementation really.

REFERENCES

None.