Why is this regexp not workin in js ???
var nameRegExp = /^[\p{L}]{2,14}$/;
i mean
nameRegExp.test('fsdglsdjg'); ===> false
nameRegExp.test('двыопыов'); ===> false
in java \p{L}
means 'letter of any language'. Is there anything like this in JS?
I cant use any of libraries or smtng like this. Only natibe js