From 4e59ae6e27c3eb16f1f743faf2a2ec92cceb0a75 Mon Sep 17 00:00:00 2001 From: Shugo Maeda Date: Tue, 26 Nov 2024 11:13:59 +0900 Subject: [PATCH] Add news about MatchData#bytebegin and MatchData#byteend --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 6199016643..bda2025fc6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -40,6 +40,10 @@ Note: We're only listing outstanding class updates. * Exception#set_backtrace now accepts arrays of Thread::Backtrace::Location. Kernel#raise, Thread#raise and Fiber#raise also accept this new format. [[Feature #13557]] +* MatchData + + * MatchData#bytebegin and MatchData#byteend have been added. [[Feature #20576]] + * Range * Range#size now raises TypeError if the range is not iterable. [[Misc #18984]]