title: why registration password only accepts @ symbol?
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>private Boolean validatePass() {
          String val = pass.getEditText().getText().toString().trim();
          String passwordVal = "^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&amp;*-]).{8,}$";
  
          if (val.isEmpty()) {
              pass.setError("*Required");
              return false;
          } else if (!val.matches(passwordVal)) {
              pass.setError("Invalid Password");
              return false;
          } else {
              pass.setError(null);
              return true;
          }
      }</code></pre>
  </div>
  </div>
  </p>
  <p>I used this code for password Validation, what's wrong with this?</p>