The regex match is converted to a double by the locale aware std::istringstream function. The output is written by the standard Inkscape SVG functions just like everything else, so the output contains dots regardless of locale. The only thing that needed to be fixed was changing the regex to accept commas.
The regex match is converted to a double by the locale aware std::istringstream function. The output is written by the standard Inkscape SVG functions just like everything else, so the output contains dots regardless of locale. The only thing that needed to be fixed was changing the regex to accept commas.