Consider following program (test.rb):
puts ‘aaabbbaaa’.match(‘aaa’).length
puts ‘aaabbbaaa’.match(‘x’).length
With CRuby, the result or running is:
[08:49:31 ~] ruby test.rb
1
test.rb:2: undefined method `length’ for nil:NilClass (NoMethodError)
With IronRuby (revision 76):
[08:37:14 ~] rbx test.rb
3
0
I apologize if this is a well-known issue and already on some to-do list
Robert B.
Software architect
Napa Ltd
Tammasaarenkatu 3, Helsinki FI-00180
P.O.Box 470, Helsinki FI-00181
Tel. +358 9 22 813 1
Direct. +358 9 22 813 611
GSM +358 45 11 456 02
Fax. +358 9 22 813 800
Email: [email protected]