PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Regexp
U:RDoc::AnyMethod[iI" to_s:ETI"Regexp#to_s;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"?Returns a string showing the options and string of +self+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"r0 = /ab+c/ix ;TI"&s0 = r0.to_s # => "(?ix-m:ab+c)" ;T:@format0o; ; [I"CThe returned string may be used as an argument to Regexp.new, ;TI"#or as interpolated text for a ;TI"@{Regexp interpolation}[rdoc-ref:Regexp@Interpolation+Mode]:;T@o;; [I"-r1 = Regexp.new(s0) # => /(?ix-m:ab+c)/ ;TI"-r2 = /#{s0}/ # => /(?ix-m:ab+c)/ ;T; 0o; ; [I"3Note that +r1+ and +r2+ are not equal to +r0+ ;TI"2because their original strings are different:;T@o;; [I"r0 == r1 # => false ;TI"r0.source # => "ab+c" ;TI"#r1.source # => "(?ix-m:ab+c)" ;T; 0o; ; [I"Related: Regexp#inspect.;T: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"to_s -> string ;T0[ I"();T@(FI"Regexp;TcRDoc::NormalClass00
[-] %3d%7e-i.ri
[edit]
[-] union-c.ri
[edit]
[-] try_convert-c.ri
[edit]
[-] to_s-i.ri
[edit]
[-] to_json-i.ri
[edit]
[-] as_json-i.ri
[edit]
[-] encoding-i.ri
[edit]
[-] source-i.ri
[edit]
[-] new-c.ri
[edit]
[-] match-i.ri
[edit]
[-] cdesc-Regexp.ri
[edit]
[-] json_create-c.ri
[edit]
[-] names-i.ri
[edit]
[-] fixed_encoding%3f-i.ri
[edit]
[-] hash-i.ri
[edit]
[-] match%3f-i.ri
[edit]
[-] %3d%3d%3d-i.ri
[edit]
[-] eql%3f-i.ri
[edit]
[+]
TimeoutError
[-] last_match-c.ri
[edit]
[-] linear_time%3f-c.ri
[edit]
[-] named_captures-i.ri
[edit]
[-] casefold%3f-i.ri
[edit]
[+]
..
[-] timeout-i.ri
[edit]
[-] escape-c.ri
[edit]
[-] quote-c.ri
[edit]
[-] %3d%3d-i.ri
[edit]
[-] timeout-c.ri
[edit]
[-] inspect-i.ri
[edit]
[-] %7e-i.ri
[edit]
[-] compile-c.ri
[edit]
[-] timeout%3d-c.ri
[edit]
[-] options-i.ri
[edit]