Added requirement that string must end with punctuation