title: How to retrieve dicts from a list of dicts using wildcard key value
body: <p>I have a large list of dictionaries, each dict has a key:value as normal. I want to grab all dicts that a match a particular wildcard key value for the name key in the example below.</p>
  
  <p>For example, if the values of the name keys below are in the format <code>A_B_C_D</code> (e.g. <code>John_Michael_Joseph_Smith</code>), how would I grab all dicts searching for name values of format <code>A*D</code> (e.g. <code>John*Smith</code>?) Or format <code>A_B*</code> (e.g. <code>John_Michael*</code>) etc?</p>
  
  <pre><code>mylist=[{id:value,name:value,parent:value},
          {id:value,name:value,parent:value},
          {id:value,name:value,parent:value}...]
  </code></pre>