Improve RegExp for parsing coordinates, thanks @tschaub