Process preg_replace on redirect_to to account for potential replacements when regex is enabled [fixes #37]