Hi,
If you create a file simple.rb and put the following line inside:
puts ("a...@0ƒz" =~ /\x40/).inspect
and then run with: macruby simple.rb I have the following:
$ macruby simple.rb
simple.rb:1:in `<main>': regexp preprocess failed: too short escaped
multibyte character (ArgumentError)
while it runs fine on ruby MRI (prints 1). The problem seems to be the use
of hex/octals in the regexp but only when the string contains unicode chars.
If you remove the "ƒ" everything goes as expected. Should I file a bug for
this? Let me know,
Thanks
Renzo
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel