change the default router regexp generator