Allow regular expressions to start with { and }

Closes #47