title: How to use regex in python to search for repeated "+" sign and avoid multiple repeat error
body: <p>When searching for "C++", I get an error on this line.</p>
  
  <pre><code>needles = "C++ Developer"
  regal = re.compile(r"(%s)" % "|".join(needles), re.I)
  # error: multiple repeat
  </code></pre>
  
  <p>How to avoid the above error without manipulating the needles?</p>