@Specialization public Object match(RubyRegexp regexp, RubyString string) { notDesignedForCompilation(); return regexp.matchCommon(string.getBytes(), true, false) != getContext().getCoreLibrary().getNilObject(); }
@Specialization public Object match(RubyRegexp regexp, RubyString string) { return regexp.matchCommon(string.getBytes(), false, false); }