The first part of your regex looks like it might be malformed (for what you want). See an example here.
If you used something like this, would it satisfy your needs?
refs\/tags\/(\d+\.\d+\.\d+[-.]?[\w]*)
See here for some sample matches