PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
MatchData
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: <tt>MatchData</tt> is the type of the special variable <tt>$~</tt>, and is the type of the object returned by <tt>Regexp#match</tt> and <tt>Regexp#last_match</tt>. It encapsulates all the results of a pattern match, results normally accessed through the special variables <tt>$&</tt>, <tt>$'</tt>, <tt>$`</tt>, <tt>$1</tt>, <tt>$2</tt>, and so on. <tt>Matchdata</tt> is also known as <tt>MatchingData</tt>. constants: [] full_name: MatchData includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: begin - !ruby/object:RI::MethodSummary name: captures - !ruby/object:RI::MethodSummary name: end - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: offset - !ruby/object:RI::MethodSummary name: post_match - !ruby/object:RI::MethodSummary name: pre_match - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: string - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: values_at name: MatchData superclass: Object
[-] size-i.yaml
[edit]
[-] post_match-i.yaml
[edit]
[-] pre_match-i.yaml
[edit]
[-] values_at-i.yaml
[edit]
[-] pretty_print-i.yaml
[edit]
[-] end-i.yaml
[edit]
[-] offset-i.yaml
[edit]
[-] inspect-i.yaml
[edit]
[-] begin-i.yaml
[edit]
[-] %5b%5d-i.yaml
[edit]
[-] to_a-i.yaml
[edit]
[-] length-i.yaml
[edit]
[+]
..
[-] captures-i.yaml
[edit]
[-] select-i.yaml
[edit]
[-] cdesc-MatchData.yaml
[edit]
[-] to_s-i.yaml
[edit]
[-] string-i.yaml
[edit]