diff options
author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2023-06-20 08:28:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-20 09:28:21 -0400 |
commit | 932dd9f10e684fa99b059054fbc934607d85b45a (patch) | |
tree | d6324bbcd2eeba6eb8a69af68235235551f9ca98 /string.rb | |
parent | 6be402e172a537000de58a28af389cb55dd62ec8 (diff) |
[DOC] Regexp doc (#7923)
Notes
Notes:
Merged-By: peterzhu2118 <peter@peterzhu.ca>
Diffstat (limited to 'string.rb')
-rw-r--r-- | string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -278,7 +278,7 @@ # If argument +capture+ is given and not <tt>0</tt>, # it should be either an capture group index (integer) # or a capture group name (string or symbol); -# the slice is the specified capture (see Regexp@Capturing): +# the slice is the specified capture (see Regexp@Groups+and+Captures): # # s = 'hello there' # s[/[aeiou](.)\1/, 1] # => "l" |