support raw regex in to_add router