Re: Perl 5's "non-greedy" matching can be TOO greedy!
[email protected] (Tom Christiansen) Fri, 15 Dec 2000 13:29:56 -0700
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Message-ID | <11119.976912196@chthon> |
>As for special-case rules, I believe that my proposed modification would >REMOVE a special-case semantic rule, at the cost of added complexity at the >implementation level. What is this alleged "special-case rule" you are talking about? There is no such thing. None. When you write /pat/, it means to find the first such pattern. There is no special case here. --tom