From: daz Date: 2003-09-03T00:58:54+09:00 Subject: Re: |rcr|.xv Index Variables ( *_with_index ) ----- Original Message ----- From: "Gavin Sinclair" To: "daz" Sent: Tuesday, September 02, 2003 4:11 PM Subject: Re: |rcr|.xv Index Variables ( *_with_index ) > On Wednesday, September 3, 2003, 12:48:23 AM, daz wrote: > > > > Hello 'core, > > > My first post here, so I'll try not to be too controversial. > > It might be too long for busy people. > > > =begin > > > [RCR] proposal - optional block index variable > > ============================================== > > > Hi Dave, > > I like the idea, and read nearly every word (skipping some > implementation details) of your long post. I have some concern about > the special treatment of the index variable in String#scan that you > propose. A nice rule doesn't look so nice when there are exceptions. > > Cheers, > Gavin > So true. Scan was an obvious example to show that the rule could be bent if concensus were to go that way. string.c is a one-line change and an afterthought rather than in the design. It wouldn't bother me you decided to boot it. Any change has got to be right, if there is a right. Hope you don't mind if I post a link: http://www.d10.karoo.net/ruby/xv/xv.patch because I sent in MIME format (the gotcha for list newbies coming from Usenet). (I don't know if my ISP allows FTP access, sorry.) Thanks, Gavin. daz