From 30bd2a32faf2d592d2df821c65431ca5f5cec736 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Mon, 16 Jan 2023 11:02:23 -0600 Subject: [DOC] Correction to RDoc for Regexp.new (#7130) Correction to RDoc for Regexp.new --- re.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 're.c') diff --git a/re.c b/re.c index 7a74318558..b4bade1089 100644 --- a/re.c +++ b/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, -- cgit v1.2.1