Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Regexp/to_s-i.ri
Arrière
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::BlankLine o: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
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.01 |
proxy
|
phpinfo
|
Réglages