Yes, dcrosta suggested looking at the docs re, which is probably a good idea, but I'm sure you really need a function finditer. Try the following:
format = r"\:(.*)\:\`(.*)\`"
patt = re.compile(format, re.I|re.U)
for m in patt.finditer(l.rstrip()):
tag, value = m.groups()
....
, .* , , (). , , , , , .* , , , " , ". finditer .