U:RDoc::AnyMethod[iI"check_until:ETI"StringScanner#check_until;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"QThis returns the value that #scan_until would return, without advancing the ;TI";scan pointer. The match register is affected, though.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"4s = StringScanner.new("Fri Dec 12 1975 14:39") ;TI"3s.check_until /12/ # -> "Fri Dec 12" ;TI"(s.pos # -> 0 ;TI")s.matched # -> 12 ;T: @format0o; ; [I"LMnemonic: it "checks" to see whether a #scan_until will return a value.;T: @fileI"ext/strscan/strscan.c;T:0@omit_headings_from_table_of_contents_below0I"check_until(pattern) ;T0[I" (p1);T@FI"StringScanner;TcRDoc::NormalClass00