In java (v11) I would like to allow all characters in any language for choosing a username, so ASCII, Latin, Greek, Chinese and so on.
We tried the pattern \p{IsAlphabetic}.
But with this pattern names like "" are allowed. I don't want to let people to style their name with such unicode characters. I want him to enter "Chris" and not ""
It should be allowed to name yourself "尤雨溪", "Linus" or "Gödel".
How to achieve a proper Regex not allowing strange styles in names?