Process preg_replace on redirect_to to account for potential replacement...

...s when regex is enabled [fixes #37]