class RuboCop::Cop::Style::RegexpLiteral

def allowed_mixed_slash?(node)

def allowed_mixed_slash?(node)
  style == :mixed && node.single_line? && !contains_disallowed_slash?(node)
end