#NEWLINE# def replaceInStatus( status ) : #NEWLINE# #INDENT# txt = gHtmlParser . unescape ( status ) #NEWLINE# txt = re . sub ( hashtagRe , reRepl , txt ) #NEWLINE# txt = re . sub ( profileRe , reRepl , txt ) #NEWLINE# return txt