Fix the svg number regular expression.
Previous it was not being greedy enough between two clauses, "123.12" for
example would stop at "123." since this is also valid.  I am not exactly an
expert on these things, hopefully the right thing to do is just putting the
greedier clause first, in this case trying to eat the part after the period.