modify punctuation condition to support various scripts