fixed failing jruby test with Regexp :==