U:RDoc::AnyMethod[iI"new:ETI"Regexp::new;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OConstructs a new regular expression from +pattern+, which can be either a ;TI"NString or a Regexp (in which case that regexp's options are propagated), ;TI"Dand new options may not be specified (a change as of Ruby 1.8).;To:RDoc::Markup::BlankLineo; ; [ I"KIf +options+ is an Integer, it should be one or more of the constants ;TI"BRegexp::EXTENDED, Regexp::IGNORECASE, and Regexp::MULTILINE, ;TI">or-ed together. Otherwise, if +options+ is not ;TI";+nil+ or +false+, the regexp will be case insensitive.;T@o:RDoc::Markup::Verbatim; [ I"9r1 = Regexp.new('^a-z+:\\s+\w+') #=> /^a-z+:\s+\w+/ ;TI"1r2 = Regexp.new('cat', true) #=> /cat/i ;TI"1r3 = Regexp.new(r2) #=> /cat/i ;TI"Nr4 = Regexp.new('dog', Regexp::EXTENDED | Regexp::IGNORECASE) #=> /dog/ix;T: @format0: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"¸Regexp.new(string, [options]) -> regexp Regexp.new(regexp) -> regexp Regexp.compile(string, [options]) -> regexp Regexp.compile(regexp) -> regexp ;T0[I" (*args);T@FI" Regexp;TcRDoc::NormalClass00