Fixed to use re.split to split a message into words