[MacRuby] #1229: regexp format regexp '.{8}*?' not supported

MacRuby ruby-noreply at macosforge.org
Sun Apr 17 22:10:19 PDT 2011


#1229: regexp format regexp '.{8}*?' not supported
-----------------------------------+----------------------------------------
 Reporter:  lsansonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  blocker                |   Milestone:  MacRuby 1.0          
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------
 In rdoc, there used to be the following regexp

 {{{
       line.gsub!(/^(.{8}*?)([^\t\r\n]{0,7})\t/) do
 }}}

 which isn't supported by MacRuby, due ICU limitations. A workaround was
 applied but we should really emulate that behavior. Kouji wrote a Ruby
 prototype of the emulation here: https://gist.github.com/907895

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



More information about the macruby-tickets mailing list