Add possibility to use regular expressions in download link rewriter function.