summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/re.c b/re.c
index cccedc9869..d91909a743 100644
--- a/re.c
+++ b/re.c
@@ -4082,6 +4082,10 @@ re_warn(const char *s)
* and <code>%r{...}</code> literals, and by the Regexp::new
* constructor.
*
+ * You can create a \Regexp object explicitly with:
+ *
+ * - A {regexp literal}[doc/syntax/literals_rdoc.html#label-Regexp+Literals].
+ *
* :include: doc/regexp.rdoc
*/