From 17e351057ea39acbc19fa3f17ba668a3ba31421e Mon Sep 17 00:00:00 2001 From: TSUYUSATO Kitsune Date: Fri, 22 Dec 2023 15:03:18 +0900 Subject: [PATCH] Add Regexp updates to NEWS.md --- NEWS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.md b/NEWS.md index 68393494df..4ba74db167 100644 --- a/NEWS.md +++ b/NEWS.md @@ -106,6 +106,12 @@ Note: We're only listing outstanding class updates. Refinement#refined_class is deprecated and will be removed in Ruby 3.4. [[Feature #19714]] +* Regexp + + * The cache-based optimization now supports lookarounds and atomic groupings. That is, match + for Regexp containing these extensions can now also be performed in linear time to the length + of the input string. However, these cannot contain captures and cannot be nested. [[Feature #19725]] + * String * String#unpack now raises ArgumentError for unknown directives. [[Bug #19150]] @@ -508,6 +514,7 @@ changelog for details of the default gems or bundled gems. [Feature #19637]: https://bugs.ruby-lang.org/issues/19637 [Feature #19678]: https://bugs.ruby-lang.org/issues/19678 [Feature #19714]: https://bugs.ruby-lang.org/issues/19714 +[Feature #19725]: https://bugs.ruby-lang.org/issues/19725 [Feature #19757]: https://bugs.ruby-lang.org/issues/19757 [Feature #19776]: https://bugs.ruby-lang.org/issues/19776 [Feature #19777]: https://bugs.ruby-lang.org/issues/19777