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

macruby ruby-noreply at macosforge.org
Sat Jul 5 22:24:50 PDT 2008


#94: Bug with non-ASCII in the regular expressions
----------------------------------------+-----------------------------------
 Reporter:  vincent.isambart at gmail.com  |        Owner:  lsansonetti at apple.com
     Type:  defect                      |       Status:  new                  
 Priority:  blocker                     |    Milestone:                       
Component:  MacRuby                     |   Resolution:                       
 Keywords:                              |  
----------------------------------------+-----------------------------------
Comment (by vincent.isambart at gmail.com):

 I forgot to put the code in a code block, so here it is once again. (I
 also removed the version test as it only makes it less readable)

 {{{
 # encoding: utf-8
 $KCODE = 'u' # for Ruby 1.8
 m = /あ/.match('あ')
 p m[0]
 }}}

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


More information about the MacRuby-devel mailing list