title: decimal Regex Expression issue
body: <p>I need a regex in .NET that represents a decimal number with up to 9 digits to the left of the decimal point and 1 or 0 digits to the right. What I have isn't working.</p>
  
  <p>Here is what I have:</p>
  
  <pre><code>@"^\d{0,9}[\.\d]{0,1}$"
  </code></pre>
  
  <p>What am I doing wrong? This regex is currently allowing 10 digits to the left of the decimal point and no digits to the right although it does accept strings like this -->  <code>12.</code></p>