Add a pattern to match delimiters

This fixes #81