title: Python glob but against a list of strings rather than the filesystem
body: <p>I want to be able to match a pattern in <a href="https://docs.python.org/2/library/glob.html" rel="noreferrer"><code>glob</code></a> format to a list of strings, rather than to actual files in the filesystem. Is there any way to do this, or convert a <code>glob</code> pattern easily to a regex?</p>