[DOC] Fix typo in document of regexp [ci skip]

This commit is contained in:
OKURA Masafumi 2023-02-10 18:32:21 +09:00 committed by GitHub
parent be94808282
commit 11e0f62148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-02-10 09:32:41 +00:00
Merged: https://github.com/ruby/ruby/pull/7283

Merged-By: nobu <nobu@ruby-lang.org>

4
re.c
View File

@ -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