some punctuation handling, trying to preserve prefixes but getting a litttttle gnarly