Merge pull request #12 from eaburns/re1

Don't print the unexpected rune on missing ).
Add tests for ^ and $.