[MacRuby] #1309: regexp with large number of captures is unable to deal with
MacRuby
ruby-noreply at macosforge.org
Sun May 29 11:15:27 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:
----------------------------------+-----------------------------------------
I'm parsing a large, fixed-length-delimited string for its fields, and I
noticed that capture groups past $37 aren't working. I can code around
this, of course, but I figured I'd better report it too.
I've attached a text file with an example string, the regex, and how to
reproduce this. You can cut-n-paste directly into macirb. The parsing
*does* work correctly in "regular" Ruby 1.9.2 irb, and it parses correctly
at rubular.com (just as a confirmation). But the parsing fails in macirb.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1309>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list