Flow matching based on taint strings