fix bug that string without punctuation will cause re.findall failed