From 5cffa69c1babb80be17d2544a430dce0f2c22b4e Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Thu, 16 Mar 2023 18:37:19 +0900 Subject: [DOC] Add missing escape Before: ``` * + corresponds to $+, which contains last capture group. ``` After: ``` * \+ corresponds to $+, which contains last capture group. ``` --- string.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.rb') diff --git a/string.rb b/string.rb index b410e09395..be10b407b0 100644 --- a/string.rb +++ b/string.rb @@ -90,7 +90,7 @@ # which contains string after match. # - \` corresponds to $`, # which contains string before match. -# - \+ corresponds to $+, +# - \\+ corresponds to $+, # which contains last capture group. # # See rdoc-ref:regexp.rdoc for details. -- cgit v1.2.1