Allow asterisk and hash when matching the hash portion of a urn