[MacRuby-devel] [MacRuby] #739: String#match calls block twice
MacRuby
ruby-noreply at macosforge.org
Mon Jun 7 18:26:21 PDT 2010
#739: String#match calls block twice
----------------------------+-----------------------------------------------
Reporter: jazzbox@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: |
----------------------------+-----------------------------------------------
Changes (by martinlagardette@…):
* status: new => closed
* resolution: => fixed
Comment:
Thanks for the report!
This is fixed with r4212:
{{{
$> ./miniruby -e '"# On branch master".match( /.*On branch (\S*)$/ ) { |m|
p m[1] }'
"master"
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/739#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list