Skip to content

Draft: GoCADReader: Replace split function with double quote handling

\rebase

Fixes GoCADAsciiReader when it parses lines like:

PROPERTIES Maechtigkeit "Maechtigkeit 1"

It was interpreted as 4 elements by a split function (separated by space). In this example, the 3rd space is in double quotes and actually part of the 3rd string (element)

With this fix now double quotes are treated and the new functionality gives 3 elements as expected: The double quotes are removed intentionally.

PROPERTIES
Maechtigkeit
Maechtigkeit 1

Experimental implementation: https://godbolt.org/z/x8js88E6r

Edited by Tobias Meisel

Merge request reports