aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2023-01-16 11:02:23 -0600
committerGitHub <noreply@github.com>2023-01-16 11:02:23 -0600
commit30bd2a32faf2d592d2df821c65431ca5f5cec736 (patch)
tree25170885a250bf1e84e839d92ce39614286c4147 /re.c
parenta2748c500d776fe0386271b4458fa3fd1c0dd56d (diff)
downloadruby-30bd2a32faf2d592d2df821c65431ca5f5cec736.tar.gz
[DOC] Correction to RDoc for Regexp.new (#7130)
Correction to RDoc for Regexp.new
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 2 insertions, 0 deletions
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,