[MacRuby] #965: Regexp literal with options broken in macirb

MacRuby ruby-noreply at macosforge.org
Sun Oct 24 12:20:56 PDT 2010


#965: Regexp literal with options broken in macirb
-------------------------------+--------------------------------------------
 Reporter:  akappen@…          |       Owner:  lsansonetti@…        
     Type:  defect             |      Status:  new                  
 Priority:  minor              |   Milestone:  MacRuby 0.8          
Component:  MacRuby            |    Keywords:  macirb regexp        
-------------------------------+--------------------------------------------
 I have a problem adding options to regexp literals in macirb.  I tried
 0.7, 0.7.1, and a nightly from Oct 23 and all exhibit the same behavior.
 For some reason adding the case insensitive option prevents the regexp
 literal from closing.


 {{{
 $ macruby --version
 MacRuby 0.8 (ruby 1.9.2) [universal-darwin10.0, x86_64]
 $ macirb --version
 DietRB (0.5.1)
 $ macirb
 irb(main):001:0> 'sPeaK' =~ /speak/i
 irb(main):002:1> //
 => //
 irb(main):003:0>
 }}}

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



More information about the macruby-tickets mailing list