* jerry gay jerry@gmail.com [2009-01-09 22:45]:
it's eager for the match to close
Impatient, hasty?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
On Fri, Jan 9, 2009 at 7:34 PM, jerry gay jerry@gmail.com wrote:
If that's now the case, that's unfortunately confusing. In other
contexts, eagerness is leftmost (eager for matching to start, if
you like), which is orthogonal to greed:
Indeed, in the context of regular expressions this
Author: particle
Date: 2009-01-09 22:05:46 +0100 (Fri, 09 Jan 2009)
New Revision: 24846
Modified:
docs/Perl6/Spec/S19-commandline.pod
Log:
[S19] describe how to avoid ambiguity when nesting delimited options
Modified: docs/Perl6/Spec/S19-commandline.pod
pugs-comm...@feather.perl6.nl writes:
+C--prelude=Perl6-autoloop-no-print. Since eager matching is used, if you
+need to pass something like:
+ ++foo -bar ++foo baz ++/foo ++/foo
+you'll end up with
+
+ %+OPTSfoo = '-bar ++foo baz';
That doesn't look very eager to me.
Eirik
--
On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen
eirik-berg.hans...@allverden.no wrote:
pugs-comm...@feather.perl6.nl writes:
+C--prelude=Perl6-autoloop-no-print. Since eager matching is used, if you
+need to pass something like:
+ ++foo -bar ++foo baz ++/foo ++/foo
+you'll end up with
jerry gay jerry@gmail.com writes:
On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen
eirik-berg.hans...@allverden.no wrote:
That doesn't look very eager to me.
it's eager for the match to close, which is the opposite of greedy
matching. in perl 5 documentation, it's called non-greedy.
On Fri, Jan 9, 2009 at 14:26, Eirik Berg Hanssen
eirik-berg.hans...@allverden.no wrote:
jerry gay jerry@gmail.com writes:
On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen
eirik-berg.hans...@allverden.no wrote:
That doesn't look very eager to me.
it's eager for the match to close, which