Fix regex in retag function that matches any tag with a '-' in it

This allows tags of the form "example-name" to be added as expected and "-example-name" to remove as expected.