I was confused about the "Toggle Cc" Javascript link.  See RT for the
patch (should these normally be CC'd to p6-compiler?).


Zev

On Mon Dec 22 16:41:53 2008, zev wrote:
> Oops.  The last patch wasn't quite right.  This one passes the tests
> (which I found).  I also added spectests that are marked TODO (but which
> pass with this patch applied).
> 
> 
> Zev
> 
> On Tue Dec 09 02:05:57 2008, masak wrote:
> > Rakudo r33613 doesn't seem to recognize ranges in :x() pairs as such.
> > The specced semantics are that :x($a..$b) should mean "match between
> > $a and $b times (neither more nor less)".
> > 
> > $ perl6 -e 'say "foofoofoo".subst("foo", "bar", :x(1..2))' # right
> > barbarfoo
> > 
> > $ perl6 -e 'say "foofoofoo".subst("foo", "bar", :x(5..6))' $ wrong
> > barbarfoo
> > 
> > By the second example, it seems to me that what's happening is that
> > the range is evaluated as a scalar representing its length.
> 
> 



Reply via email to