title: Splitting a simple maths expression with regex
body: <p>I am trying to have a regular expression split on equations like 1.5+4.2*(5+2) with operators - + * / so the output would be input into a array so I can parse individually</p>
  
  <pre><code>[0]1.5
  [1]+
  [2]4.2
  [3]*
  [4](
  [5]5
  [6]+
  [7]2
  [8]) 
  </code></pre>
  
  <p>I have found out that the <code>\b</code> will work on <code>1+2+3</code> however if I were to have decimal points it would not split.  </p>
  
  <p>I have tried splitting with <code>\b(\.\d{1,2})</code> however it does not split on the decimal point</p>