class RuboCop::Cop::Lint::AmbiguousRegexpLiteral

def first_argument_is_regexp?(node)

def first_argument_is_regexp?(node)
  node.send_type? && node.first_argument&.regexp_type?
end