summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2021-12-03 07:12:28 -0600
committerGitHub <noreply@github.com>2021-12-03 07:12:28 -0600
commit28fb6d6b9e06a632f96244a635a045622a6be276 (patch)
tree1c96616dc764d2b67c83fe9443b7f5ae1f8c9ea8 /re.c
parent324d57df0b28982590609d7ae080f82074a82a5c (diff)
Adding links to literals and Kernel (#5192)
* Adding links to literals and Kernel
Notes
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
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
*/