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 is pretty much an exact example from the docs:
std::vector<std::string> vec;
auto result = scn::scan_list_ex("123, 456,\n789", vec, scn::list_separator_and_until(',', '\n'));
The (unexpected) result is that the vector contains 2 elements "123," and "456," (ie the comma is in the result string).
If I change the input string to "123,456,\n789" (ie remove the space) the output is 1 element of "123,456,". So it looks a lot like it's just splitting at the whitespace.
I'm using v1.0 (latest available in vcpkg).
The text was updated successfully, but these errors were encountered:
This is pretty much an exact example from the docs:
The (unexpected) result is that the vector contains 2 elements "123," and "456," (ie the comma is in the result string).
If I change the input string to
"123,456,\n789"
(ie remove the space) the output is 1 element of"123,456,"
. So it looks a lot like it's just splitting at the whitespace.I'm using v1.0 (latest available in vcpkg).
The text was updated successfully, but these errors were encountered: