title: Find exact match in list of strings
body: <p>very new to this so bear with me please... </p>
  
  <p>I got a predefined list of words</p>
  
  <pre><code>checklist = ['A','FOO']
  </code></pre>
  
  <p>and a words list from <code>line.split()</code> that looks something like this</p>
  
  <pre><code>words = ['fAr', 'near', 'A']
  </code></pre>
  
  <p>I need the exact match of <code>checklist</code> in <code>words</code>, so I only find 'A':</p>
  
  <pre><code>if checklist[0] in words:
  </code></pre>
  
  <p>That didn't work, so I tried some suggestions I found here:</p>
  
  <pre><code>if re.search(r'\b'checklist[0]'\b', line): 
  </code></pre>
  
  <p>To no avail, cause I apparently can't look for list objects like that... Any help on this?</p>