class RuboCop::Cop::Performance::Squeeze

def repeating_literal?(regex_str)

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