Tcl's list search command has the option to search for a list element that matches a given regex. Is there something similar in python? If not, it seems like it should be fairly trivial for me to write my own (just wondering if I would be re-inventing the wheel).