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
This doesn't scan succesfully: auto scan_result = scn::scan<int>("0\n\n", "{}\n\n");
similarly these won't either: auto scan_result = scn::scan<int>("0\n\r", "{}\n\r"); auto scan_result = scn::scan<int>("0\r\n", "{}\r\n"); auto scan_result = scn::scan<int>("0\r\r", "{}\r\r");
These will scan succesfully: auto scan_result = scn::scan<int>("0\r\r", "{}"); auto scan_result = scn::scan<int>("0\r\r", "{}\0\n"); (I also don't understand why this is successful since "\r\r" != "\0\n"
Hi loving the library!
I have a minor issue with scanning some strings.
This doesn't scan succesfully:
auto scan_result = scn::scan<int>("0\n\n", "{}\n\n");
similarly these won't either:
auto scan_result = scn::scan<int>("0\n\r", "{}\n\r");
auto scan_result = scn::scan<int>("0\r\n", "{}\r\n");
auto scan_result = scn::scan<int>("0\r\r", "{}\r\r");
These will scan succesfully:
auto scan_result = scn::scan<int>("0\r\r", "{}");
auto scan_result = scn::scan<int>("0\r\r", "{}\0\n");
(I also don't understand why this is successful since"\r\r" != "\0\n"
Reproduced here:
https://godbolt.org/z/YY6K7Tzch
The results error message is:
"Unexpected end of source"
Could you please offer some insight on what is happening here?
The text was updated successfully, but these errors were encountered: