def render(self, template):
return re.sub(r'<STR_LIT>', self._render_sub, template)<EOL>
Replace each $-substitutions in the given template string with
the corresponding terminal control string (if it's defined) or
'' (if it's not).