Fix bug when there was a hyphen in a category name.

Updated the URL regex to allow the hyphen.