diff options
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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]] |