---
cases:
  - note: regexisvalid/good pattern
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := x if {
        	regex.is_valid(`.+`, x)
        }
    data: {}
    want_result:
      - x: true
