doublemax wrote: ↑Sun Feb 05, 2023 11:06 am
Can you show some code some that reproduces the issue?
Its not something special that is implemented. I think its really related to just that type string:
The code to write that entry is this line (in a class that derived from wxFileConfig):
Code: Select all
Write(wxString::Format(wxT("/RegEx%lu"), static_cast<unsigned long>(num)), reg_ex);
...with reg_ex being the string that is grabbed from a wxTextControl field using GetValue().
I see that in the INI file this line is added in that case:
...here you can see: The backslash is escaped but then all other characters that better should be escaped, too aren't. Is this related to this equality sign in the string? Because note that there are two of them: One coming from Property=Value and another one from the string which isn't escaped, to.
So the class does some escaping but then stops?!