how to use re match objects in a list comprehension,"return [m.group(1) for m in (re.search(regex, l) for l in lines) if m]"