title: Regexp for a double
body: <p>I have got this regexp <code>"^[0-9]+\.?[0-9]*$")</code> to match a double number or an integer number in visual C++ but it doesn't seem to work. Any ideas? </p>
  
  <p>This is how I am applying the code:</p>
  
  <pre><code>if (System::Text::RegularExpressions::Regex::IsMatch(e0, "^[0-9]+\.?[0-9]*$")){
       e0_val = System::Convert::ToDouble(e0);
  }
  </code></pre>