def modClearCharacterRefs(s, titlesRefs, namesRefs, charactersRefs):
 return re_characterRef.sub('\\1', s)

def modClearCharacterRefs ( s , titlesRefs , namesRefs , charactersRefs ) : return re_characterRef . sub ( '\\1' , s )
remove characters references .