title: Regex for numbers including decimal points
body: <p>I'm still trying to pick up regex so I can't seem to figure this one out. I want to be able to match any type of number including things like</p>
  
  <pre><code>0.2
  .1243
  1.
  -0.34
  +033.98274E-10
  -.1e+004
  </code></pre>
  
  <p>I have created the following regex which matches all of these: <code>[+-]?[0-9+\.]+([E][+-]?[0-9]+)?</code>, however this also matches single decimal points such as if I had something like <code>param.attribute</code>, it would pick up on that decimal point. How can I get around this? I thought that in the part <code>[0-9+\.]</code> the <code>+</code> would require that the string contain at least one numeric value.</p>