Skip to content
class method

Regexp.timeout

() -> ::Float?
Regexp.timeout → float or nil

It returns the current default timeout interval for Regexp matching in second. nil means no default timeout configuration.

See also .timeout= #timeout .quote .new also in 4.1 · 3.4 · 3.3 · 3.2