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
auto result = scn::scan<std::string>("x22x", "x{}");
// result->value() == "22x"
The format string following the {} is not inspected to determine, what characters to accept when reading a string, and when to stop reading. To determine what characters to accept, the character set syntax can be used:
I have problem with parsing example like this:
auto result1 = scn::scan<std::string, double>(":x22x , 3.14", ":x{}x , {}");
Either I dont understand something or documentation is missing important case ?
the other case like this:
auto result1 = scn::scan<std::string, double>(":x22x , 3.14", ":x{}x , {}");
works as expected. How to tackle the string case ?
The text was updated successfully, but these errors were encountered: