add regular expression matching to --output-http-rewrite-url