U:RDoc::AnyMethod[iI"try_convert:ETI"Regexp::try_convert;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"FTry to convert obj into a Regexp, using to_regexp method. ;TI"GReturns converted regexp or nil if obj cannot be converted ;TI"for any reason.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"/Regexp.try_convert(/re/) #=> /re/ ;TI".Regexp.try_convert("re") #=> nil ;TI" ;TI"o = Object.new ;TI".Regexp.try_convert(o) #=> nil ;TI"!def o.to_regexp() /foo/ end ;TI"/Regexp.try_convert(o) #=> /foo/;T: @format0: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"*Regexp.try_convert(obj) -> re or nil ;T0[I" (p1);T@FI" Regexp;TcRDoc::NormalClass00