title: f:validateRegex pattern for > 0.0
body: <p>Before we start I want to inform you that I have done a lot of searching and have looked at all of the "<strong>Questions that may already have your answer</strong>", all over Google, and the <code>&lt;f:validateRegex pattern="" /&gt;</code> forms and the can not come across; how, by using <code>&lt;f:validateRegex pattern="" /&gt;</code> to make sure the entered value is greater than 0.0.</p>
  
  <p>I am making a BMI calculator using <strong>PrimeFaces</strong> and I need this validation.</p>
  
  <p>Here is the code where I am asking for the input:</p>
  
  <pre><code>&lt;p:inputText id="height" 
      value="#{peopleData.height}" 
      size="6" 
      required="true"&gt;
      &lt;f:validateRegex pattern="[0-9+]+.+[0-9]+"/&gt;
  &lt;/p:inputText&gt;
  </code></pre>
  
  <p>I was going to set <code>pattern="[0-9+]+.+[1-9]+"</code> but then the user would always need to have could not have a <em>height</em> of anything like <code>*.0</code></p>
  
  <p>I am absolutely lost with this and any suggestions would be awesome! Even if the solution would involve using something other than <code>&lt;f:validateRegex/&gt;</code></p>