created regex pattern config to filter routes