I have the following regex to match words that start with uppercase letters in text:
var mathes = text.match(/[a-z]*[A-Z]+[a-z]*/g);
This works fine except when matching international letters they are being ignored. This thread What does this regexp mean - "\p{Lu}"? suggests using the form \p{Lu} and \p{Ll} so I would assume it to work like this:
var mathes = text.match(/\p{Ll}*\p{Lu}+p{Ll}*/g);
However the matching of uppercase letters stops working.
How can I include matching international letters in words starting with uppercase?