[DOC] Fix a typo [ci skip]
This commit is contained in:
parent
a782d76fbe
commit
846a6bb60f
2
re.c
2
re.c
@ -3703,7 +3703,7 @@ str_to_option(VALUE str)
|
|||||||
* +timeout+ keyword.
|
* +timeout+ keyword.
|
||||||
*
|
*
|
||||||
* options = Regexp::MULTILINE
|
* options = Regexp::MULTILINE
|
||||||
* r = Regexp.new('foo', optinos, timeout: 1.1) # => /foo/m
|
* r = Regexp.new('foo', options, timeout: 1.1) # => /foo/m
|
||||||
* r2 = Regexp.new(r) # => /foo/m
|
* r2 = Regexp.new(r) # => /foo/m
|
||||||
* r2.timeout # => 1.1
|
* r2.timeout # => 1.1
|
||||||
* r3 = Regexp.new(r, timeout: 3.14) # => /foo/m
|
* r3 = Regexp.new(r, timeout: 3.14) # => /foo/m
|
||||||
|
Loading…
x
Reference in New Issue
Block a user