Keycloak does not apply password policy on password resets

I am using version 18.0. My password policy (e.g. a specific regex) is applied when a user is registering. And while the user resets the password the regex is not applied. I wonder which password policy is applied. Is it a normal behavior?