public void RegexCondition1() { AssertOutput(delegate() { CompilerTest(@" $_ = 'foo'.taint if /(foo)/ then puts $1 puts $1.tainted? end "); }, @" foo true "); }