title: How to add multiple pattern-based validators with parsley.js?
body: <p>Any idea how I can add multiple regex pattern validators in parsley.js? My code looks something like this:</p>
  
  <pre><code>&lt;input type="password" id="password" name="password" autocomplete="off"
  data-parsley-pattern="^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$" 
  data-parsley-pattern-message="error1"
  data-parsley-pattern="\\s\\s" 
  data-parsley-pattern-message="error2"
  /&gt;
  </code></pre>
  
  <p>When I run it, I only get the "error1" message for both cases.</p>