implemented ability of router path to be a regex with captures that are added to params hash