Are there any plans to change the regex syntax for Perl 6?

I ask because I've spent the last few days playing with PCRE,
and I added a rather powerful extension to it as an experiment.
Details at http://www.puffinry.freeserve.co.uk/regex-extension.html

Named capture-blocks are *long* overdue as well.

Is the (?{code}) / (??{blah}) experiment generally regarded as a
success? Is it too early to say? There's a reasonable case to be made
that having regexes which are less than Turing complete is actually
an advantage: you can guarantee termination, for example. There's
also the inevitable security issue - if regexes can contain unlink()
calls, then you have to be pretty careful with them...

If my proposal has a hidden agenda, it's that I want to show that
you can get a lot of the power we want without actually having to
embed arbitrary code.

 .robin.

Reply via email to