зеркало из https://github.com/github/ruby.git
[DOC] Correction to RDoc for Regexp.new (#7130)
Correction to RDoc for Regexp.new
This commit is contained in:
Родитель
a2748c500d
Коммит
30bd2a32fa
2
re.c
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче