Ignore closing quote mark or apostrophe at end of match.

Resolves #36. Hooray!