[MacRuby-devel] [MacRuby] #94: Bug with non-ASCII in the regular expressions

MacRuby ruby-noreply at macosforge.org
Mon Jan 4 17:50:49 PST 2010


#94: Bug with non-ASCII in the regular expressions
----------------------------------------+-----------------------------------
 Reporter:  vincent.isambart@…          |        Owner:  lsansonetti@…        
     Type:  defect                      |       Status:  closed               
 Priority:  blocker                     |    Milestone:  MacRuby 0.5          
Component:  MacRuby                     |   Resolution:  fixed                
 Keywords:                              |  
----------------------------------------+-----------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Fixed in r3189.

 {{{
 $ cat t.rb
 # encoding: utf-8
 p 'あ'.match(/あ/)
 p 'あいあいあいあいあ'.scan(/あ/)
 $ ./miniruby t.rb
 #<MatchData "あ">
 ["あ", "あ", "あ", "あ", "あ"]
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/94#comment:6>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list