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

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: Returns the portion of the original string before the current match. Equivalent to the special variable <tt>$`</tt>.
- !ruby/struct:RDoc::Markup::Flow::VERB 
  :body: "   m = /(.)(.)(\\d+)(\\d)/.match(&quot;THX1138.&quot;)\n   m.pre_match   #=&gt; &quot;T&quot;\n"
full_name: MatchData#pre_match
is_singleton: false
name: pre_match
params: |
  mtch.pre_match   => str

visibility: public
