RegexpValidator

I don’t know what does it happen here with the regular expression.
I have tested in several online regular expression tools.

binder.forField(pass)
    .withvalidator(new RegexpValidator("At least one capital letter", "\\w*[A-Z]
\\w*" )
    .bind(Person::getPass, Person::setPass);

Hi,
what is the problem you’re experiencing?
I tried your code and it seems to work on Vaadin 8.1.7

When i put a cappital letter in the field pass, it is still the error indicator ! and the message.
It is a little bizarre beacause it works with at least a digit with the regex (“\w*\d\w*”)

Upps
it didn’t work because i had wrote [A_Z]
instead of [A-Z]
. I was going crazy, sorry