> --> but MatchAnyN is not compatible with HeadMatches
> --> need to use Matches
> --> but Matches cannot work, because logic needs needs HeadMatches
> ;-(
>
> ~~
>
> I've experimented with other things like:
>
> else if (Matches("CREATE", "PUBLICATION", MatchAny, MatchAnyN, "WITH", "(*") 
> ||
>   Matches("CREATE", "PUBLICATION", MatchAny, MatchAnyN, "WITH", "(", 
> MatchAnyN))
>
> ... but, apparently the Matches() logic only recognizes the first MatchAnyN.
>
> To cut a long story short, the only approach that I found that works
> was the `seen_with` scan.

Thank you for shedding light on this.

v4 LGTM. If no barring objections marked this patch as ready for committer.

Regards,
Demir.


Reply via email to