Are the REGEX structure and the match vtable methods officially dead?  The
POD inside of rx.ops does not mention them at all, and right now REGEX is
typedef'd to void and no-one uses the 'match' method for anything.

Since regular expressions will most likely be implemented as Parrot
bytecode, would it not make more sense to make a regular expressions be a
PMC class, something like "PerlRegex"?

The PerlRegex class could have a compile method that would (ultimately,
anyway) compile a string down to an opaque object.  Then there would be a
match method that would be somewhat opposite of the match method we
(don't?) know today, in that the argument would be the PMC you are trying
to match and the PerlRegex object would do the bulk of the work, perhaps
calling methods on the argument PMC to get incremental units of work or
something like that.

Make sense?

- D

<[EMAIL PROTECTED]>

Reply via email to