def search_by_re_list(re_list, text):
for matcher in re_list:<EOL><INDENT>m = matcher.search(text)<EOL>if m:<EOL><INDENT>return m.groupdict()<EOL><DEDENT><DEDENT>return None<EOL>
Given a list of compiled regular expressions,
try to search in text with each matcher until the first
match occurs. Return the group-dict for that first match.