summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-16 18:53:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-20 19:35:12 +0900
commit1e9939dae24db232d6f3693630fa37a382e1a6d7 (patch)
tree7bb1660444a068ce185c4ef636467861b40cae6c /sample
parent39dc455b511614ee8a1911c0ba6445a0307d5e4f (diff)
downloadruby-1e9939dae24db232d6f3693630fa37a382e1a6d7.tar.gz
[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.
Diffstat (limited to 'sample')
0 files changed, 0 insertions, 0 deletions