summaryrefslogtreecommitdiff
path: root/string.rb
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2023-08-15 13:43:58 -0500
committerGitHub <noreply@github.com>2023-08-15 14:43:58 -0400
commit8c5b9ebf7144af73cf52209b73b849c078133dff (patch)
tree209fdb862f98f7774293168c663171a9d627c7cc /string.rb
parentd9d4ae511a692568af4638e3fb88dbfdcbcba19b (diff)
[DOC] Improve doc guide compliance (#8221)
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+:
#