I'm trying to check if a given UTF-8 string consists of letters only.
I tried the solution I found here: Validating user's UTF-8 name in Javascript
Given string: Ciesiołkiewicz
is tested with var XRegExp = require('xregexp').XRegExp('^\\p{L}+$');
And it's not working because of "ł" letter
I tried XRegExp('^[\\p{Latin}\\p{Common}]+$');
but it's too much, it accepts polish letters but also characters like "$" etc
How can I validate it against letters only? I don't want to type them into regexp manually.