Add regular expression URL matching.

I hacked this together because the current URL matching was too rigid for my purposes.  This is not the best solution to the problem, but I wanted to get the ball rolling in this direction.  Hopefully this PR can spark some useful conversation on how this should best be implemented.