If you want to use *generic whitespace* rather than ASCII spaces, you would use `'^([A-ZŁa-zł]|\s)+$'`