summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorVictor Shepelev <[email protected]>2023-12-14 23:01:48 +0200
committer<[email protected]>2023-12-14 23:01:48 +0200
commit570d7b2c3e2ee39e07548dfe242b684ec794789d ()
treeee123eb1d1a8680ee9fd5f7c7a873a120acd833d /re.c
parentd3deb1b8232a303dd40909e32f939bad3b24a8af (diff)
[DOC] Adjust some new features wording/examples. (#9183)
* Reword Range#overlap? docs last paragraph. * Docs: add explanation about Queue#freeze * Docs: Add :rescue event docs for TracePoint * Docs: Enhance Module#set_temporary_name documentation * Docs: Slightly expand Process::Status deprecations * Fix MatchData#named_captures rendering glitch * Improve Dir.fchdir examples * Adjust Refinement#target docs
-rw-r--r--re.c4
1 files changed, 2 insertions, 2 deletions
@@ -2334,8 +2334,8 @@ match_named_captures_iter(const OnigUChar *name, const OnigUChar *name_end,
* # => #<MatchData "01" a:"0" a:"1">
* m.named_captures #=> {"a" => "1"}
*
- * If keyword argument +symbolize_names+ is given
- * a true value, the keys in the resulting hash are Symbols:
*
* m = /(?<a>.)(?<a>.)/.match("01")
* # => #<MatchData "01" a:"0" a:"1">