implement regex routes