On Tuesday, March 25, 2014, Leif Hedstrom <email@example.com> wrote:
On Mar 25, 2014, at 7:51 PM, Brian Geffon <firstname.lastname@example.org> wrote:
> What Thomas called Question #1 -- 1 Regex.
Makes sense to have them combined. Assuming groups etc. works, that allows you to do e.g.
regex_map http://(.*)\.ogre\.com/([^/]+)/(.*) http://$2/$1/$3
or some such. i.e. take parts from the path match and use as the host, and vice versa. Right? :)