General

Profile

stefanocr (Stefano Crocco)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

01/25/2010

07:57 PM Ruby Feature #2645 (Rejected): Have a method in StringScanner which returns the position in characters rather than in bytes
=begin
In ruby 1.9, StringScanner#pos returns the position in number of bytes. I read on the ruby mailing list (http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/352809) this happens because working with character-based index...
stefanocr (Stefano Crocco)

09/17/2009

05:31 PM Ruby Bug #2109 (Closed): Marshal gives error when dumping and loading array with two regexps in ruby 1.9.1-p243
=begin
In ruby 1.9.1-p243, attempting to dump and load again an array containing two or more Regexps gives an error. For example, the following code:

str = Marshal.dump [/a/, /b/]
Marshal.load str

gives this error:

prov...
stefanocr (Stefano Crocco)

Also available in: Atom