Re: Perl 5's "non-greedy" matching can be TOO greedy!
[email protected] (Nathan Torkington) Thu, 14 Dec 2000 16:25:51 -0700 (MST)
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Message-ID | <[email protected]> |
Jarkko Hietaniemi writes:
> Couldn't the be an option (a modifier) to do this? Then if someone
> asks to wait until all the electrons spin down, so be it...
Only if we can get MjD's wordy regex modifiers:
/a.*?b/{heatdeath}
Nat :-)