Regex policy based on multivalued attribute

Hello. I use GitHub - sventorben/keycloak-restrict-client-auth: A Keycloak authenticator to restrict authorization on clients with Policy-Based mode. When I want to use Regex Client Policy on multivalue attributes it does not work.
For example, I have User user1 with an attribute:

"my_attr": [
    "1test",
    "2test"
  ],

If I define the target_claim to my_attr and regex pattern to 1test it works, but when I would like to check the 2test I have no idea how to do it :disappointed:. Do you know any solution?

Iā€™d recommend to ask the maintainer of the extension directly in the mentioned GitHub repo as a new issue or discussion thread.
AFAIK Sven-Torben is not a member here in this forum.

@dasniko the problem is with Keycloak RegexPolicyProvider, not with the extension.

Here takes only the first value of the multivalued attribute to Regex.
image
Therefore, you are not able to check if the user has attr=2test.