title: Using f:validateRegex and p:inputMask together
body: <p>I am trying to make a regex check for my time input text and also I am trying to mask the input. I don't know if both can be done at the same time with this code:</p>
  
  <pre><code>&lt;p:inputMask mask="99:99" size="5" maxlength="5" required="true" requiredMessage="#{account_req_txt}" value="#{user.accountNo}"&gt;
       &lt;f:validateRegex pattern="[01]?[0-9]|2[0-3]):[0-5][0-9]"/&gt;
       &lt;p:ajax event="blur" update="sysMsg" /&gt;
  &lt;/p:inputMask&gt;
  </code></pre>
  
  <p>I am getting "must be a number consisting of one or more digits." error. What is wrong with above code?</p>