Test, validate and match regular expressions
Matches a specific validation error message indicating an invalid field for a given request type, extracting the field name and request type. The first capture group targets the field name using word characters, while the second captures the request type using a character class that also accidentally matches literal pipes and parentheses. It is useful for parsing structured API logs or error responses.