On Wed, Aug 16, 2000 at 07:39:33AM -0700, Dave Storrs wrote:
> The idea of having two different regex "languages" in Perl makes
> me very, very nervous. Potential for confusion
Indeed.
> How about instead we build the DFA as you describe, with its more
> limited syntax, but it must be manually turned on by use of a flag
> (similar to the 'o' precompiled flag)?
/o means "compile once" not "precompile" I think you're thinking of
qr//
> Actually this could be a good thing in general...when you're
> writing a frequently-used and hairy regex, you could set the 'precompile'
> and 'use DFA' flags to get maximum speed.
$/ = qr/[\r\n]/f; # fast ?
-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]
- RFC 69 (v3) Standardize input record separator (for Perl6 RFC Librarian
- Re: RFC 69 (v3) Standardize input record separato... Chaim Frenkel
- Re: RFC 69 (v3) Standardize input record separato... Bryan C . Warnock
- Line disciplines (was Re: RFC 69 (v3) Standar... Chaim Frenkel
- Re: Line disciplines (was Re: RFC 69 (v3)... hao
- Re: Line disciplines (was Re: RFC 69 ... Bart Lateur
- Re: Line disciplines (was Re: RF... Dave Storrs
- Re: Line disciplines (was Re... Jonathan Scott Duff
- Re: Line disciplines (wa... Simply Hao
- Re: Line disciplines (wa... Dave Storrs
- Re: Line disciplines (was Re... Bart Lateur
- Re: Line disciplines (wa... Dave Storrs
- Re: Line disciplines (wa... James Mastros
