summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 6d4b1ab166..6faeb5d00e 100644
--- a/string.c
+++ b/string.c
@@ -4951,7 +4951,7 @@ static VALUE get_pat(VALUE);
* regexp = Regexp.new(pattern)
* - Computes +matchdata+, which will be either a MatchData object or +nil+
* (see Regexp#match):
- * matchdata = <tt>regexp.match(self)
+ * matchdata = regexp.match(self)
*
* With no block given, returns the computed +matchdata+:
*