Support for return values like 9.51582e-05 in compare

I got this error when using compare with ImageMagick:
```
Unable to parse output.
Got 6.23619 (9.51582e-05)
```

The regex in place didn't support exponent-notation floats.
I didn't have these issues with gm.