title: Regex modifier /u in JavaScript?
body: <p>Recently I have created a regex, for my PHP code which allows only the letters (including special characters plus spaces), but now I'm having a problem with converting it (?) into the JavaScript compatible regex, here it is: <code>/^[\s\p{L}]+$/u</code>, the problem is the <code>/u</code> modifier at the end of the regex pattern, as the JavaScript doesn't allow such flag.</p>
  
  <p>How can I rewrite this, so it will work in the JavaScript as well?</p>
  
  <p>Is there something to allow only Polish characters: <code>Ł</code>, <code>Ą,</code> <code>Ś</code>, <code>Ć</code>, ... </p>