[MacRuby] #1309: regexp with large number of captures is unable to deal with

MacRuby ruby-noreply at macosforge.org
Tue May 31 23:50:29 PDT 2011


#1309: regexp with large number of captures is unable to deal with
----------------------------------+-----------------------------------------
 Reporter:  chris@…               |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  minor                 |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 Indeed:

 {{{
 $ cat t.rb
 re=Regexp.new('(.)'*40); md=File.read('GPL').match(re); p $38
 $ ./miniruby  t.rb
 " Copyright (C) 1989, 1991 Free Software "
 }}}

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



More information about the macruby-tickets mailing list