Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ruby / usr / share / ri / 2.2.0 / system / Regexp / new-c.ri
Size: Mime:
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"IIf +options+ is a Fixnum, it should be one or more of the constants ;TI"BRegexp::EXTENDED, Regexp::IGNORECASE, and Regexp::MULTILINE, ;TI"><em>or</em>-ed together.  Otherwise, if +options+ is not ;TI";+nil+ or +false+, the regexp will be case insensitive.;T@o;
;	[I"KWhen the +kcode+ parameter is `n' or `N' sets the regexp no encoding. ;TI"4It means that the regexp is for binary strings.;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 [, kcode]])        -> regexp
Regexp.new(regexp)                            -> regexp
Regexp.compile(string, [options [, kcode]])    -> regexp
Regexp.compile(regexp)                        -> regexp
;T0[I"(*args);T@!FI"Regexp;TcRDoc::NormalClass00