title: Python regex, how to match a string for n times of occurrences
body: <p>I want to match the line that contains word 100.00% for 3 occurrences.</p>
  
  <p>e.g </p>
  
  <pre><code>some string 100.00% foo 100.00% 100.00%
  some string  99.91%  foo 100.00% 99.91%
  some string 100.00%100.00%100.00%
  </code></pre>
  
  <p>So line 1 and 3 should all be matched.</p>
  
  <p>However, my following regex seems only to match the case that has 100.00% repeated for 3 times. (Only match line 3)</p>
  
  <pre><code>re.search(r"([1][0][0]\.[0][0][%]){3}",string)
  </code></pre>
  
  <p>I wonder how should I do to match line 1 as well?</p>
  
  <p>Thanks everybody!</p>