diff options
require_relative '../../spec_helper' describe "MatchData#captures" do it "returns an array of the match captures" do /(.)(.)(\d+)(\d)/.match("THX1138.").captures.should == ["H","X","113","8"] end end cation/atom+xml'/>
![]() |
index : ruby.git | |
| The Ruby Programming Language |
| summaryrefslogtreecommitdiff |