#739: String#match calls block twice
----------------------------+-----------------------------------------------
Reporter: jazz...@… | Owner: lsansone...@…
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: |
----------------------------+-----------------------------------------------
Changes (by martinlagarde...@…):
* 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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel