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::BlankLineo: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