I had this same issue, the regex needs to be expanded a bit, here is working regex below, I haven't test that it will work with fedora, but it does work with CentOS and RHEL.

'(redhat|sl|centos)-release-(?!notes-)([\\w]*-{0,1})7(\\.|-)(.*)\\.rpm'

It basically makes the server- optional and allows for - or . after the initial version.

Dave Sanderson 
Manager, System Infrastructure
Information Technology