Sha256: 6724c4d77fe7bbbe9d969bef8c9e77c816e2c8e27f383795492030a9032fe5de
Contents?: true
Size: 288 Bytes
Versions: 52
Compression:
Stored size: 288 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "MatchData#post_match" do it "returns the string after the match equiv. special var $'" do /(.)(.)(\d+)(\d)/.match("THX1138: The Movie").post_match.should == ': The Movie' $'.should == ': The Movie' end end
Version data entries
52 entries across 52 versions & 2 rubygems