On Sun, 26 May 2002, Steve Fink wrote:

> I implemented it that way once in my private tree. But I ended up
> replacing it with a couple of PerlArrays.
>
> I am now of the opinion that there's currently nothing for a regex PMC
> to do. At compile-time, you know what sort of beast you're matching
> against. If you want to incrementally match an input sequence of some
> sort, then you should probably be using the same continuation or
> coroutine mechanism that regular subs use.

I've done some thinking about it this weekend.  Upon reflection, what I
should have said was "Regexes should be objects", which is more of a perl6
thing.  What you say makes sense: how would the regex ops be called from
within the PMC?  It would be unneccesary overhead, and it doesn't make
much sense...

- D

<[EMAIL PROTECTED]>

Reply via email to