Minor regex bugs
Merge pull request #385 from Telford-Rowley/patch-1

Minor regex bugs