Allow for using regexps in redirect.