[ruby-core:111827] [Ruby master Feature#19344] Regexp.new: stricter handling of second argument