Rewrite svg path parser in regexp to better handle the different types of floating point numbers possible