Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.218 kB
assert "0", "p /^abc/ =~ 'abcdef'"
assert "nil", "p /^abc/ =~ 'abxyz'"
assert "/42/", "p /#{1+21+20}/"
assert ":ok", %q{
def foo; "invalid["; end
begin
re = /#{foo}/
rescue RegexpError
p :ok
end
}
Jump to Line
Something went wrong with that request. Please try again.