Bug #4069: String#parse_csv fails to parse  "\r" character embedded string
http://redmine.ruby-lang.org/issues/show/4069

Author: Heesob Park
Status: Open, Priority: Normal
Category: lib, Target version: 1.9.x
ruby -v: ruby 1.9.3dev (2010-11-18 trunk 29823) [i386-mswin32_90]

C:\work>ruby -rcsv -ve 'p ["aa\rbb"].to_csv.parse_csv'
ruby 1.9.3dev (2010-11-18 trunk 29823) [i386-mswin32_90]
c:/usr/lib/ruby/1.9.1/csv.rb:1914:in `block in shift': Unclosed quoted field on line 1. (CSV::MalformedCSVError)
        from c:/usr/lib/ruby/1.9.1/csv.rb:1831:in `loop'
        from c:/usr/lib/ruby/1.9.1/csv.rb:1831:in `shift'
        from c:/usr/lib/ruby/1.9.1/csv.rb:1390:in `parse_line'
        from c:/usr/lib/ruby/1.9.1/csv.rb:2341:in `parse_csv'
        from -e:1:in `<main>'


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