[DOC] Correction to RDoc for Regexp.new (#7130)
Correction to RDoc for Regexp.new
This commit is contained in:
parent
a2748c500d
commit
30bd2a32fa
Notes:
git
2023-01-16 17:02:44 +00:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user