Adding validators to email

Hello,

I’m new to keycloak, and I currently have a few issues, in the realm settings → user profile > email when I open the email configuration I can add validators, two problems I have encountered, one using a regex pattern doesn’t seem to work since keycloak is adding \ to my regex and therefore it’s breaking the regex, the other is if I add the email validator nothing happens on save it simply disappears from the configuration.

Any idea why this happens and how can I use the email validator?