A modification of the attached small C-routine is required.
Actually, the routine computes the hash for a url.
The modification must have the effect, to only
generate the hash for part of the url in case, url matches a special host.
Both, the specific host and the part of the url to be hashed must be specified in a POSIX-regex string, to allow easy mofification.
IF [url removed, login to view] (regex1) THEN
url = [url removed, login to view](regex2)
POSIX-regex(extended) is assumed.
Supplier has to provide the code based on dummy regex1 and regex2.