bug: add_match with index

Grant Hollingworth grant at antiflux.org
Mon Sep 26 02:06:55 EDT 2005


* Kevin Ballard <kevin at sb.org> [2005-09-25 23:32]:
> Why not just use Array#insert instead of Array#[]=?

Well, that's much nicer.  why, is there a reason for the +1, or can it
be self.matches.insert(i, [r, m])?


More information about the Mousehole-scripters mailing list