---
cases:
  - note: "strings/replace: overlap"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := x if {
        	replace("foo...bar", "..", ",,", x)
        }
    data: {}
    want_result:
      - x: foo,,.bar
