title: Clientside validation for regex unicode letters
body: <p>In addition to serverside validation I want to have some clientside validation (javascript/jquery) for an input field accepting 'unicode letters' <a href="http://www.regular-expressions.info/unicode.html#category" rel="nofollow noreferrer">http://www.regular-expressions.info/unicode.html#category</a> ... of course there are numerous tutorials/examples out there ... but still I can't get it work ... that's what I tried so far: </p>
  
  <pre><code>//this is working: 
  var re_username = /^[a-zA-Z]+$/;
  
  //this is not working:
  var re_username = /^[p{L}]+$/;
  var re_username = /^[p{L}]+$/u;
  var re_username = /[p{L}]+$/u;
  var re_username = /[p{L}]*$/u;
  var re_username = /[p{L}]+$/u;
  var re_username = /[\p{L}]+$/u;
  var re_username = /^[\p{L}]+$/u;
  var re_username = /[\p{L}\p{M}]*+;
  var re_username = /[\p{L}\p{M}]*+$;
  var re_username = /^\p{L}+$/;
  var re_username = /^[\p{L}\p{M}]+$/;
  
  //here I further take the val ...   
  var is_username = re_username.test($('#chatusername').val());
  </code></pre>
  
  <p>Is p{L} not working like that in javascript/jquery?</p>