PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Regexp
U:RDoc::AnyMethod[iI"linear_time?:ETI"Regexp::linear_time?;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I";Returns +true+ if matching against <tt>re</tt> can be ;TI"-done in linear time to the input string.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I")Regexp.linear_time?(/re/) # => true ;T:@format0o; ; [I"ONote that this is a property of the ruby interpreter, not of the argument ;TI"Lregular expression. Identical regexp can or cannot run in linear time ;TI"Pdepending on your ruby binary. Neither forward nor backward compatibility ;TI"Qis guaranteed about the return value of this method. Our current algorithm ;TI"Gis (*1) but this is subject to change in the future. Alternative ;TI"Limplementations can also behave differently. They might always return ;TI"false for everything.;T@o; ; [I"5(*1): https://doi.org/10.1109/SP40001.2021.00032;T: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"FRegexp.linear_time?(re) Regexp.linear_time?(string, options = 0) ;T0[ I"(*args);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]