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/skip_until-i.ri
U:RDoc::AnyMethod[iI"skip_until:ETI"StringScanner#skip_until;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"QAdvances the scan pointer until +pattern+ is matched and consumed. Returns ;TI"Bthe number of bytes advanced, or +nil+ if no match was found.;To:RDoc::Markup::BlankLine o; ; [I"NLook ahead to match +pattern+, and advance the scan pointer to the _end_ ;TI"Nof the match. Return the number of characters advanced, or +nil+ if the ;TI"match was unsuccessful.;T@o; ; [I"OIt's similar to #scan_until, but without returning the intervening string.;T@o:RDoc::Markup::Verbatim; [I"4s = StringScanner.new("Fri Dec 12 1975 14:39") ;TI")s.skip_until /12/ # -> 10 ;TI""s #;T:@format0: @fileI"ext/strscan/strscan.c;T:0@omit_headings_from_table_of_contents_below0I"skip_until(pattern) ;T0[ I" (p1);T@FI"StringScanner;TcRDoc::NormalClass00