diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2023-03-16 18:37:19 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2023-03-16 18:37:19 +0900 |
commit | 5cffa69c1babb80be17d2544a430dce0f2c22b4e (patch) | |
tree | ef27b92850be2a1db8b79efc5faf67a42d180d67 /string.rb | |
parent | 90d3bbb52bbc4159285cf4437290fc982259ebf0 (diff) |
[DOC] Add missing escape
Before:
```
* + corresponds to $+, which contains last capture group.
```
After:
```
* \+ corresponds to $+, which contains last capture group.
```
Diffstat (limited to 'string.rb')
-rw-r--r-- | string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ # which contains string after match. # - <tt>\`</tt> corresponds to <tt>$`</tt>, # which contains string before match. -# - <tt>\+</tt> corresponds to <tt>$+</tt>, +# - <tt>\\+</tt> corresponds to <tt>$+</tt>, # which contains last capture group. # # See rdoc-ref:regexp.rdoc for details. |