'turns a list of dicts containing regexps information into a list of compiled regexps.'

def compile_regexp_dict_list(self, re_list):

    compiled_regexps = []
    for dic in re_list:
        flags = 0
        if (u'flags' in dic):
            flags = self.flagstr_to_flags(dic[u'flags'])
        compiled_regexps.append(re.compile(dic[u'regexp'], flags))
    return compiled_regexps
