File: //usr/share/ri/3.0.0/system/StringScanner/matched_size-i.ri
U:RDoc::AnyMethod[iI"matched_size:ETI"StringScanner#matched_size;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReturns the size of the most recent match in bytes, or +nil+ if there ;TI"Iwas no recent match. This is different than <tt>matched.size</tt>, ;TI".which will return the size in characters.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"*s = StringScanner.new('test string')
;TI")s.check /\w+/ # -> "test"
;TI"$s.matched_size # -> 4
;TI"&s.check /\d+/ # -> nil
;TI"%s.matched_size # -> nil;T:@format0:
@fileI"ext/strscan/strscan.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"StringScanner;TcRDoc::NormalClass00