Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 1.5.0.RC3
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.191 kb
require 'test/unit'
class TestBackref < Test::Unit::TestCase
# JRUBY-1944
def test_postmatch_in_scan
"ab".scan(/a/) do |v|
v =~ /z/
end
assert_equal 'b', $'
end
end
Jump to Line
Something went wrong with that request. Please try again.