[DOC] Correction to RDoc for Regexp.new (#7130)

Correction to RDoc for Regexp.new
This commit is contained in:
Burdette Lamar 2023-01-16 11:02:23 -06:00 коммит произвёл GitHub
Родитель a2748c500d
Коммит 30bd2a32fa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 0 удалений

2
re.c
Просмотреть файл

@ -3792,6 +3792,8 @@ void rb_warn_deprecated_to_remove(const char *removal, const char *fmt, const ch
* Regexp.new('foo', flags) # => /foo/mix
*
* - +nil+ or +false+, which is ignored.
* - Any other truthy value, in which case the regexp will be
* case-insensitive.
*
* If optional keyword argument +timeout+ is given,
* its float value overrides the timeout interval for the class,