diff options
author | Kouhei Yanagita <[email protected]> | 2025-01-22 13:56:58 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-01-22 15:07:19 +0900 |
commit | 99792d063458e5559f6cc8f26c186edccc995344 (patch) | |
tree | 406eea3993b88b190de887af721ec4b609831b4e | |
parent | 72fdba156d2963609141867b815e202d558582bf (diff) |
[DOC] Fix code markup in String#match
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12608
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4951,7 +4951,7 @@ static VALUE get_pat(VALUE); * regexp = Regexp.new(pattern) * - Computes +matchdata+, which will be either a MatchData object or +nil+ * (see Regexp#match): - * matchdata = <tt>regexp.match(self) + * matchdata = regexp.match(self) * * With no block given, returns the computed +matchdata+: * |