old regex for tag
fix #580
Merge pull request #581 from gregdm/test

Fix Regex for tags