added regex support, added req.params