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

[email protected] (Bart Lateur) Thu, 17 Aug 2000 21:18:33 +0200
Newsgroups perl.perl6.language.io
Organization MediaMind
Message-ID <[email protected]>
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 would make the notation the same for both.
Except: there are things that you generally can't do with a DFA, such as
capturing submatches, and repeated matches like

	/(['"]).*?\1/

(--> the "\1"). I think that's about it.
 
And the DFA would only be used for input line terminator scans. No user
choice.

-- 
	Bart.