title: RegEx extract all real numbers from a string
body: <p>This regex in JavaScript is returning only the first real number from a given string, where I expect an array of two, as I am using /g. Where is my mistake?</p>
  
  <pre><code>/[-+]?[0-9]*\.?[0-9]+/g.exec("-8.075090 -35.893450( descr)")
  </code></pre>
  
  <p>returns:</p>
  
  <pre><code>["-8.075090"]
  </code></pre>