# opening brace, or %(dash)s # em/en-dash ) ' # the quote (?=\w|%(punct)s) # followed by a word character or punctuation z