---
cases:
  - note: regexfind/finds specified number of match values
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains x if {
        	regex.find_n("a.", "paranormal", 2, __local0__)
        	x = __local0__
        }
    data: {}
    want_result:
      - x:
          - - ar
            - an
    sort_bindings: true
