summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2020-12-08 21:20:37 -0500
committerMarc-André Lafortune <github@marc-andre.ca>2020-12-15 12:54:45 -0500
commitd5f0d338c7b5d3d64929b51d29061d369550e8c4 (patch)
treedf9905cc1d66eda457942bceecfde4f66c4a5944 /NEWS.md
parenta039dc018ccf34e217f767eac500b9400c58f069 (diff)
Optimize `Enumerable#grep{_v}`
[Bug #17030]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3868
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index f5da2fadef..817d591a27 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -452,6 +452,9 @@ Excluding feature bug fixes.
* Integer#zero? overrides Numeric#zero? for optimization. [[Misc #16961]]
+* Enumerable#grep and grep_v when passed a Regexp and no block no longer modify
+ Regexp.last_match [[Bug #17030]]
+
* Requiring 'open-uri' no longer redefines `Kernel#open`.
Call `URI.open` directly or `use URI#open` instead. [[Misc #15893]]
@@ -682,3 +685,4 @@ end
[Feature #17351]: https://bugs.ruby-lang.org/issues/17351
[Feature #17371]: https://bugs.ruby-lang.org/issues/17371
[GH-2991]: https://github.com/ruby/ruby/pull/2991
+[Bug #17030]: https://bugs.ruby-lang.org/issues/17030