matz / ruby-lang.org (Yukihiro Matsumoto) writes:


[...]

> |But with Ruby here, it silently does, well, I don't know:
> 
> <snip>
> 
> 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..



-- 
Guillaume Cottenceau - http://mandrakesoft.com/~gc/