def md_escape(txt):
 return MD_ESCAPE_RE.sub((lambda match: ('\\' + match.group(0))), txt)

def md_escape ( txt ) : return MD_ESCAPE_RE . sub ( ( lambda match : ( '\\' + match . group ( 0 ) ) ) , txt )
call this if you want to be sure your text wont be interpreted as markdown .