redirect working with regex, ui typos

Had problems with regex in redirect: didn't like /'s in pattern, didn't like white space at end of pattern, and was ending up with double regex delimiters. Switched to using # for the regex delimiter. Also "etc", not "ect" (I wouldn't care, but it shows up in the client ui). Also my editor seems to be set up to strip trailing whitespace, sorry for the unnecessary line changes that produced.