Fix #1 by adding a regex for label matching and adding more tests.
Merge pull request #1 from wsargent/master

Segment matcher inappropriately matches on substring