Let me try my answer as solution.
The problem was the quote after @.
passwordStrengthRegularExpression="@(?=.{6,})(?=(.*d){1,})(?=(.*W){1,})"
Regards
-----
Please, mark as solution if you find useful as you said in the comments to help another developers =)