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