On Fri Feb 24 10:44:42 2023 +0000, Sven Baars wrote:
I pushed a new version where I changed it such that it includes a \ if the remaining string is longer. Later it will be used in many edge cases where we have to detect if the next node that we will parse is a wow6432node, not the current one. This is also what I already start doing this refactor, which is why it is needed here.
I could also introduce `get_path_element` as it is implemented in the server, but it is not clear to me that that actually makes the code more readable. It still means mixing `get_path_element` and while loops over trailing `\` as is done in the server.