Re: Line disciplines (was Re: RFC 69 (v3) Standardize input record separator)

2000-08-18 Thread James Mastros
On Thu, Aug 17, 2000 at 04:05:13PM -0700, Dave Storrs wrote: > However, I think that if we're going to write this DFA at all, then the > user SHOULD have the choice of using it for normal regex matchs, by > specifying a specific flag (my choice was 'd'). Alternatively, the person > should be able

Re: Line disciplines (was Re: RFC 69 (v3) Standardize input record separator)

2000-08-17 Thread Bart Lateur
On Wed, 16 Aug 2000 07:39:33 -0700 (PDT), Dave Storrs wrote: > The idea of having two different regex "languages" in Perl makes >me very, very nervous. Potential for confusion It should. However, I was talking about two different rgex implementations, not two different languages. I woul

Re: Line disciplines (was Re: RFC 69 (v3) Standardize input record separator)

2000-08-16 Thread Simply Hao
I'll try to scrap and rewrite the RFC this weekend. > $/ = qr/[\r\n]/f; # fast ? How about we use the specialized DFA regex, but also slightly different notation? -Hao

Re: Line disciplines (was Re: RFC 69 (v3) Standardize input record separator)

2000-08-16 Thread Jonathan Scott Duff
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