Re: Perl 5's "non-greedy" matching can be TOO greedy!
[email protected] (brian d foy) Sat, 16 Dec 2000 14:23:02 -0500 (EST)
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 15 Dec 2000, Simon Cozens wrote: > On Fri, Dec 15, 2000 at 11:39:08AM -0800, Randal L. Schwartz wrote: > > Tell me how you can do that without breaking much existing code. > > Pssst, Randal, this is Perl 6, not p5p. well, we do have to translate 95% of that code to Perl 6 without a hitch. i imagine that breaking regex behaviour in fovor of something new would make that quite difficult. perhaps that is not what Randal was talking about, but it is something to consider. -- brian d foy <[email protected]> Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985