title: How to match a list item via RegExp in Robot Framework
body: <p>I am trying to validate that a list of items all match a regular expression.  </p>
  
  <p>Here's an example of the list <code>${liabilityAccounts}</code> I'm working with:</p>
  
  <pre><code>[u'Liability: 100-0-20100 Payables', u'Liability: 100-0-20200 Credit Cards', u'Liability: 100-0-20300 Designated Funds', u'Liability: 100-0-20400 Miscellaneous Liabilities', u'Liability: 100-0-20500 DoH Liability', u'Liability: 200-0-20100 Payables']
  </code></pre>
  
  <p>I am trying to loop over these items to verify that each item matches the following format: "Liability: XXX-XX-2XXX" via:</p>
  
  <pre><code>:FOR  ${item}  IN  ${liabilityAccounts}
  \  Should Match Regexp  ${item}  ^Liability: \\d{3}-\\d{1}-2\\d{4}.*$
  </code></pre>
  
  <p>I am receiving an error:</p>
  
  <pre><code>TypeError: expected string or buffer
  </code></pre>
  
  <p>How can I fix this?</p>