title: Unicode regexp to match line-breaks?
body: <p>I have this form from where I want to submit data to a database. The data is UTF8. I am having trouble with matching line breaks. The pattern I am using is something like this:</p>
  
  <pre><code>~^[\p{L}\p{M}\p{N} ]+$~u
  </code></pre>
  
  <p>This pattern works fine until the user puts a new line in his text box. I have tried using <code>\p{Z}</code> inside the class but with no success. I also tried "s" but it didn’t work.</p>
  
  <p>Any help is much appreciated. Thanks!</p>