title: python with multi reg match and cost many time?
body: <p>I have many title and a title Reg Rule List.
  I need to use each reg to match each tile.</p>
  
  <p>If the the length of Reg Rule List &lt;=512,it cost me 1 second.</p>
  
  <p>But if the the length of Reg Rule List >512,it cost me 50 second.</p>
  
  <p>Why this happen?</p>
  
  <p>I try to split Reg Rule List to multi list and each &lt;500,but the problem still exite.</p>
  
  <p>this is my code</p>
  
  <pre><code> for MatchTitle in TitleList:
       for RegList in RegListList:
          for Reg in RegList:
              if re.match('.*' +Reg + '.*', MatchTitle):
                  ThisReg= True #some prosess
  </code></pre>