Re: Perl 5's "non-greedy" matching can be TOO greedy!
[email protected] (Simon Cozens) Fri, 15 Dec 2000 22:25:07 +0000
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Dec 15, 2000 at 05:20:35PM -0500, Deven T. Corzine wrote: > It's a pattern, not a program. Yes, it's straightforward to treat it as a > step-by-step procedure for matching that pattern, but by doing so, you lose > something of the gestalt of the whole. You may deal in patterns, but computers deal in programs. There's a reason Gestalt.pm hasn't made it yet. -- Putting a square peg into a round hole can be worthwhile if you don't mind a few shavings. -- Larry Wall