Updated punctuation check.