Not strict mock generation

Hello! I have an issue with mock generation. I created field password in user schema and set pattern

^(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*])[A-Za-z\d!@#$%^&*]{8,20}$

Then i made 1k test with request, but about in 30% cases i got error response. in all these cases, the password in the request either did not contain a special character or a number. why am i getting this behavior?

Thanks for the feedback.
The principle of generating random characters through regular expressions determines that:
It cannot handle lookahead assertions and negative lookahead assertions.
It is recommended to use deterministic rules for generation.
So you can try it :
^([A-Za-z\d!@#$%^&*]{3,8})[A-Z]\d!@#$%^&*$