summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-06-26 14:17:14 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-06-26 14:17:14 +0900
commit846a6bb60ff5fe085ce90442a11e0dceadf8a0e9 (patch)
treef5f57ad391834aa052b31b545d7bad9c08cf9711 /re.c
parenta782d76fbecd5d7cac0574eb6b994be5a4f9f8fd (diff)
[DOC] Fix a typo [ci skip]
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 002be7ce9e..0f0eba0552 100644
--- a/re.c
+++ b/re.c
@@ -3703,7 +3703,7 @@ str_to_option(VALUE str)
* +timeout+ keyword.
*
* 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.timeout # => 1.1
* r3 = Regexp.new(r, timeout: 3.14) # => /foo/m