Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
StringScanner
/
//opt/alt/ruby21/share/ri/2.1.0/system/StringScanner/scan_until-i.ri
U:RDoc::AnyMethod[iI"scan_until:ETI"StringScanner#scan_until;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"RScans the string _until_ the +pattern+ is matched. Returns the substring up ;TI"Oto and including the end of the match, advancing the scan pointer to that ;TI"7location. If there is no match, +nil+ is returned.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"4s = StringScanner.new("Fri Dec 12 1975 14:39") ;TI"/s.scan_until(/1/) # -> "Fri Dec 1" ;TI".s.pre_match # -> "Fri Dec " ;TI"&s.scan_until(/XYZ/) # -> nil;T:@format0: @fileI"ext/strscan/strscan.c;T:0@omit_headings_from_table_of_contents_below0I"scan_until(pattern) ;T0[ I" (p1);T@FI"StringScanner;TcRDoc::NormalClass00