Test, validate and match regular expressions
This regex matches Ansible task output lines showing per-host status (ok, changed, or fatal) and a 'msg' field containing an array of strings. It captures the hostname and the entire message list content, allowing extraction of rendered configs or debug messages from playbook runs. Useful for log analysis and automation of Ansible output processing.