You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is probably related to #970. When I compile with CLI11 version from this commit, everything works fine (displays OK! Parsed file path: "C:\testdir\aaa.txt").
I've tried to use new transformer ->transform(CLI::EscapedString), but no difference.
Win11 23H2, VS2022 17.8.6, C++20, file is in UTF-8.
P.S. Parsing a vector of args works fine on v2.4.1:
The escape sequence handling was changed from non-existent to matching the rules used in toml file processing. Entirely possible there are some bugs in that as of yet.
you can probably try cliApp.parse("-f 'C:\\testdir\\aaa.txt'"); in this case to turn off the escape sequence parsing in this case
After v2.4.0 update I receive
Exception: "unrecognized escape sequence \a in C:\testdir\aaa.txt"
on the following example code:It is probably related to #970. When I compile with CLI11 version from this commit, everything works fine (displays
OK! Parsed file path: "C:\testdir\aaa.txt"
).I've tried to use new transformer
->transform(CLI::EscapedString)
, but no difference.Win11 23H2, VS2022 17.8.6, C++20, file is in UTF-8.
P.S. Parsing a vector of args works fine on v2.4.1:
but a fix to std::string overload would be nice.
The text was updated successfully, but these errors were encountered: