summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorOKURA Masafumi <masafumi.o1988@gmail.com>2023-02-10 18:32:21 +0900
committerGitHub <noreply@github.com>2023-02-10 18:32:21 +0900
commit11e0f62148de721538e69c174edc981b05079cda (patch)
treecfab30c23bbcd427dc504bf497a02356791a3d86 /re.c
parentbe94808282e50d3ecaa1392ffc38c9ec89e3438b (diff)
downloadruby-11e0f62148de721538e69c174edc981b05079cda.tar.gz
[DOC] Fix typo in document of regexp [ci skip]
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/re.c b/re.c
index fb0f5034f1..308c7960ac 100644
--- a/re.c
+++ b/re.c
@@ -762,8 +762,8 @@ rb_reg_casefold_p(VALUE re)
* /foo/mix.options # => 7
*
* Note that additional bits may be set in the returned integer;
- * these are maintained internally internally in +self+,
- * are ignored if passed to Regexp.new, and may be ignored by the caller:
+ * these are maintained internally in +self+, are ignored if passed
+ * to Regexp.new, and may be ignored by the caller:
*
* Returns the set of bits corresponding to the options used when
* creating this regexp (see Regexp::new for details). Note that