summaryrefslogtreecommitdiff
path: root/string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'string.rb')
-rw-r--r--string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.rb b/string.rb
index e1f55d17b4..e4de709dc5 100644
--- a/string.rb
+++ b/string.rb
@@ -265,7 +265,7 @@
#
# <b><tt>string[regexp, capture = 0]</tt></b>
#
-# When the \Regexp argument +regexp+ is given,
+# When the Regexp argument +regexp+ is given,
# and the +capture+ argument is <tt>0</tt>,
# the slice is the first matching substring found in +self+:
#