RegexValidator don`t work with ] and \

Hi, i try to allow \ and ] but when i add something like this

@"[^А-Еа-еЖ-Щж-щЮ-Яю-яьЬїЇєЄіІ\u0027\u002d\u00AB\u00BB\u201D\u201C\u0022\u00B6\u00A7\x20№{}[<>()|/+*:,.;`~!#$%^&=_?\]\\]"

Validation stops working completely
If you remove ] then everything works but \ does not pass validation

I tried to add these characters via unicode but the result is the same

There is probably some other problem with the RegEx as the following seems to work:

<RadzenRegexValidator Pattern="[^\]]" />

The validator does not allow entering ].

<RadzenRegexValidator Pattern="[^\\]]" />

this code to allow just ]