diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-06-16 18:53:35 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-06-20 19:35:12 +0900 |
commit | 1e9939dae24db232d6f3693630fa37a382e1a6d7 (patch) | |
tree | 7bb1660444a068ce185c4ef636467861b40cae6c /spec/ruby/core/regexp | |
parent | 39dc455b511614ee8a1911c0ba6445a0307d5e4f (diff) |
[Feature #18788] Support options as `String` to `Regexp.new`
`Regexp.new` now supports passing the regexp flags not only as an
`Integer`, but also as a `String. Unknown flags raise errors.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6039
Diffstat (limited to 'spec/ruby/core/regexp')
0 files changed, 0 insertions, 0 deletions