summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/NEWS.md b/NEWS.md
index 02163ff9c0..129cd45a1c 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -119,8 +119,10 @@ Note: We're only listing outstanding class updates.
* Proc#parameters now accepts lambda keyword. [[Feature #15357]]
* Regexp
- * Regexp.new now warns second argument, other than `true`, `false`,
- `nil` or Integer. [[Feature #18788]]
+ * Regexp.new now supports passing the regexp flags not only as an Integer,
+ but also as a String Unknown flags raise errors. Otherwise, anything
+ other than `true`, `false`, `nil` or Integer will be warned.
+ [[Feature #18788]]
* Refinement
* Refinement#refined_class has been added. [[Feature #12737]]