From: Guillaume Cottenceau Date: 2001-07-06T01:01:08+09:00 Subject: [ruby-talk:17328] Re: enhancing Ruby error messages for out of the bound constant Fixnum? David Alan Black writes: [...] > > > It considers the pattern /\068/ as \06 (octal 6) and following "8". > > > Sould it parse like Perl's? > > > > Definitely, when you write \067 and then \068, you don't expect that one > > is parsed as octal 67 and the other one octal 6 then 8. > > > > I think it should parse like Perl's.. > > I'm still not getting what the difference is, other than a warning > from Perl and no warning from Ruby. Yes, sorry, there is no difference, I just used the word "parse" following expression from matz. What I meant is that it should issue a warning because 95% of the time you'll not mean \06 *then* 8 when you write \068. Anyway, just my personal feeling. -- Guillaume Cottenceau - http://mandrakesoft.com/~gc/