in annotated_steps.py [0:0]
def FillMagicMarkers(v, replacements):
def replace(match):
word = match.group(1)
if not word in replacements:
raise Exception("Unknown magic marker %s. Known mappings are: %s" %
(word, replacements))
return replacements[word]
return re.sub(r"\$(\w+)", replace, v)