code: def _compile_tag_re(self):
          
          queue_tag_list = []
          for regex_str, tags in iteritems(self._queue_tag_re):
              try:
                  queue_tag_list.append([re.compile(regex_str), [t.strip() for t in tags.split(',')]])
              except TypeError:
                  log.warning('{} is not a valid regular expression and will be ignored'.format(regex_str))
          return queue_tag_list
docs: Compile regex strings from queue_tag_re option and return list of compiled regex/tag pairs