⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Regexp
/
View File Name :
new-c.ri
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::BlankLine o; ; [ 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