class RuboCop::Cop::Performance::StringInclude

def literal?(regex_str)

def literal?(regex_str)
  regex_str.match?(/\A#{Util::LITERAL_REGEX}+\z/o)
end