PHP 8.2.31
Preview: %5b%5d-i.yaml Size: 984 B
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/MatchData/%5b%5d-i.yaml

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Match Reference---<tt>MatchData</tt> acts as an array, and may be accessed using the normal array indexing techniques. <em>mtch</em>[0] is equivalent to the special variable <tt>$&amp;</tt>, and returns the entire matched string. <em>mtch</em>[1], <em>mtch</em>[2], and so on return the values of the matched backreferences (portions of the pattern between parentheses).
- !ruby/struct:SM::Flow::VERB 
  body: "   m = /(.)(.)(\\d+)(\\d)/.match(&quot;THX1138.&quot;)\n   m[0]       #=&gt; &quot;HX1138&quot;\n   m[1, 2]    #=&gt; [&quot;H&quot;, &quot;X&quot;]\n   m[1..3]    #=&gt; [&quot;H&quot;, &quot;X&quot;, &quot;113&quot;]\n   m[-3, 2]   #=&gt; [&quot;X&quot;, &quot;113&quot;]\n"
full_name: MatchData#[]
is_singleton: false
name: "[]"
params: |
  mtch[i]               => obj
  mtch[start, length]   => array
  mtch[range]           => array

visibility: public

Directory Contents

Dirs: 0 × Files: 17

Name Size Perms Modified Actions
984 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
476 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
551 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
1.39 KB lrw-r--r-- 2023-07-26 13:47:20
Edit Download
500 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
699 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
456 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
494 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
514 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
182 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
491 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
561 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
452 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
434 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
980 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
394 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download
665 B lrw-r--r-- 2023-07-26 13:47:20
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).