If I read the header line we are talking about file names.
Technical it might work to have leading whitespace in filenames. But I would in any case disallow them for LDraw related files!
On a type 1 line there might be a reference to a file with leading whitespace. I have no clue how to detect that!!!
Trailing whitespace should not be a problem as you always have that between the letters of the filename and the dot.
Technical it might work to have leading whitespace in filenames. But I would in any case disallow them for LDraw related files!
On a type 1 line there might be a reference to a file with leading whitespace. I have no clue how to detect that!!!
Trailing whitespace should not be a problem as you always have that between the letters of the filename and the dot.