---
cases:
  - note: "globsmatch/regex.globs_match: raw: undefined"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	regex.globs_match(`[a-z]+\[[0-9]+\]`, "foo[\"bar\"]")
        }
    data: {}
    want_result: []
