Don't match end sentence punctuation

Fixes #6