Test, validate and match regular expressions
Matches individual lines (multiline mode) where a leading token (any chars except semicolons, commas, or newlines) reappears later in the line followed by '=true', or where 'true' appears directly after another ';' separator, with an optional trailing ',<more>' section. Uses a backreference (\1) to enforce that the same token repeats. Intended for validating Kubernetes pod annotations such as metrics.agent.grafana.com/scrape or prometheus.io/scrape being set to true within semicolon-separated, multi-port configuration strings.