changed the referer parser to work with wildcards and inline comments in the file