answer_as_regex_match function

Make LLM answer match a specific regex