in reply to Microsoft's .NET ate a piece of Perl 5?

It's probably merely an adaptation or wholesale integration (or a reimplementation) of PCRE, which is about as close to having Perl regular expressions as you can have without actually having Perl. PCRE shows up in many places... there's a binding for Python, Ruby, and TCL, if I recall.

Of course, PCRE will always be lying when it says "Perl compatible", because they can't have it exactly the same until they implement (?{...}), and that would require an entire Perl language. {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Microsoft's .NET ate a piece of Perl 5?

Replies are listed 'Best First'.
Re: •Re: Microsoft's .NET ate a piece of Perl 5?
by jand (Friar) on Mar 31, 2003 at 23:32 UTC
    It is a reimplementation. It actually takes the regex and translates it into IL (Intermediate Language) byte code, which is in turned jitted into native machine code. It is pretty expensive to create a regex object, but they are reasonably fast at runtime (unless you recreate them every time inside a loop).