'Parse Meta-Data and store in Markdown.Meta.'

def run(self, lines):

    meta = {}
    key = None
    while 1:
        line = lines.pop(0)
        if (line.strip() == ''):
            break
        m1 = META_RE.match(line)
        if m1:
            key = m1.group('key').lower().strip()
            meta[key] = [m1.group('value').strip()]
        else:
            m2 = META_MORE_RE.match(line)
            if (m2 and key):
                meta[key].append(m2.group('value').strip())
            else:
                lines.insert(0, line)
                break
    self.markdown.Meta = meta
    return lines
