--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Return the n-th subgroup in the most recent match.
- !ruby/struct:SM::Flow::VERB 
  body: "  s = StringScanner.new(&quot;Fri Dec 12 1975 14:39&quot;)\n  s.scan(/(\\w+) (\\w+) (\\d+) /)       # -&gt; &quot;Fri Dec 12 &quot;\n  s[0]                               # -&gt; &quot;Fri Dec 12 &quot;\n  s[1]                               # -&gt; &quot;Fri&quot;\n  s[2]                               # -&gt; &quot;Dec&quot;\n  s[3]                               # -&gt; &quot;12&quot;\n  s.post_match                       # -&gt; &quot;1975 14:39&quot;\n  s.pre_match                        # -&gt; &quot;&quot;\n"
full_name: StringScanner#[]
is_singleton: false
name: "[]"
params: " [](n)\n"
visibility: public
