MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.153
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Regexp/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Regexp/to_s-i.ri
U:RDoc::AnyMethod[iI"	to_s:ETI"Regexp#to_s;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"SReturns a string containing the regular expression and its options (using the ;TI"M<code>(?opts:source)</code> notation. This string can be fed back in to ;TI"Q<code>Regexp::new</code> to a regular expression with the same semantics as ;TI"Mthe original. (However, <code>Regexp#==</code> may not return true when ;TI"Kcomparing the two, as the source of the regular expression itself may ;TI"Ldiffer, as the example shows).  <code>Regexp#inspect</code> produces a ;TI"3generally more readable version of <i>rxp</i>.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"*r1 = /ab+c/ix           #=> /ab+c/ix
;TI"0s1 = r1.to_s            #=> "(?ix-m:ab+c)"
;TI"0r2 = Regexp.new(s1)     #=> /(?ix-m:ab+c)/
;TI"'r1 == r2                #=> false
;TI"(r1.source               #=> "ab+c"
;TI"/r2.source               #=> "(?ix-m:ab+c)";T:@format0:
@fileI"	re.c;T:0@omit_headings_from_table_of_contents_below0I"rxp.to_s   -> str
;T0[I"();T@FI"Regexp;TcRDoc::NormalClass00

MMCT - 2023