text-parsematch processes text input with pattern matching and retries to ensure structured, validated output for data extraction and content categorization.