title: Python re.search exact match on variable
body: <p>The contents of <code>iplist.txt</code> are in this format:</p>
  
  <pre><code>CART    6385    Cell IP: 10.10.10.10
  CART    3854    Cell IP: 10.10.10.10
  CART     385    Cell IP: 10.10.10.10
  </code></pre>
  
  <p>I need help getting the python script below to only match <code>385</code> and print the results. </p>
  
  <p>My code:</p>
  
  <pre><code>IPList = open('iplist.txt','r')    
  CartID = raw_input('What is the Cart ID? ')
  
  for line in IPList:            
      if re.search(CartID, line):
          print line.strip()
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>What is the Cart ID? 385
  CART    6385    Cell IP: 10.10.10.10
  CART    3854    Cell IP: 10.10.10.10
  CART     385    Cell IP: 10.10.10.10
  </code></pre>
  
  <p>I just need it to match <code>CART 385</code>.</p>