I have a regex:
/^([\u00c0-\u01ffa-zA-Z]+['-]{0,1}){3,30}$/
Which means I can use 3-30 given characters, but my upper limit doesn't work. Here is the example with 35 characters string:
/^([\u00c0-\u01ffa-zA-Z]+['-]{0,1}){3,30}$/.test('TXTGWDRWHWTXTGSXYEWGUAHZXQCWDRWHWTX');
And it returns true, but should returns false