Issue #459 has been updated by James Gray.


I apologize, that second example had multiple errors.  Here's the correct example, still broken:

$ ruby -r scanf -e '"Name James Computers 2 Name Greg Computers 4".scanf("Name %s Computers %i") { |name, count| p [name, count] }'
["James", nil]

----------------------------------------
http://redmine.ruby-lang.org/issues/show/459

----------------------------------------
http://redmine.ruby-lang.org