Skip to content

Commit

Permalink
Showing 2 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion spec/truffle/tags/core/regexp/inspect_tags.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -175,20 +175,6 @@ public int hash(RubyRegexp regexp) {

}

@CoreMethod(names = "inspect")
public abstract static class InspectNode extends CoreMethodArrayArgumentsNode {

public InspectNode(RubyContext context, SourceSection sourceSection) {
super(context, sourceSection);
}

@Specialization
public RubyBasicObject match(RubyRegexp regexp) {
return createString(((org.jruby.RubyString) org.jruby.RubyRegexp.newRegexp(getContext().getRuntime(), regexp.getSource(), regexp.getRegex().getOptions()).inspect19()).getByteList());
}

}

@CoreMethod(names = "match", required = 1, taintFromSelf = true)
public abstract static class MatchNode extends CoreMethodArrayArgumentsNode {

0 comments on commit b0a53bb

Please sign in to comment.