Using re.escape & the str() method in getTableTitleRe which is None value safe