Returns a coder function for the coder argument of llm_auto_code()
that tags texts by regular-expression matching instead of calling an LLM.
It is meant for trying the workflow offline with mock_mixed_data(), not
for real research coding.
Usage
mock_coder(
patterns = c(UI_Confusion = "lost|confus|can't find|frustrat|error",
Positive_Experience = "love|seamless|clean|effortless|efficient|fast",
Feature_Request = "wish|please add|would be great")
)