On Thu, 21 Mar 2002 00:55:07 -0500 (EST), Michel J Lambert wrote:

>And coming soon...a regex compiler! Compile down regexes from their
>perl-interpreted based environment to native C code under the hood. While
>there is little benefit on simple regexes /abc/, there can be an order of
>magnitude improvement as the regexes get more complex.

>I have yet to figure out if anyone uses complicated regexes enough that
>something like this would be useful. But I still think it's fun,
>regardless of practical benefits.

One place where this just might be useful, would be where your regex
engine behaves differently than Perl's. You know: the DFA vs. "NFA"
thing (while Perl's engine is not quite an actual NFA). You could
implement a DFA.

-- 
        Bart.

Reply via email to