[MacRuby-devel] [MacRuby] #494: gsub with regexp is currently broken

MacRuby ruby-noreply at macosforge.org
Tue Dec 8 22:02:23 PST 2009


#494: gsub with regexp is currently broken
-------------------------------------+--------------------------------------
 Reporter:  mattaimonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:  MacRuby 0.5          
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 {{{
 >> "first_name".gsub(/_[a-z]/, "\1")
 => "first\x01ame"
 }}}

 {{{
 $ macruby -e 'p "first_name".gsub(/_[a-z]/, "\1")'
 "first\x01ame"
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/494>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list