Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Spirit's Greedy Fundamental Type Parsers
From: Rainer Deyke (rainerd_at_[hidden])
Date: 2016-04-01 02:35:09

On 31.03.2016 23:02, Daniel Hofmann wrote:
> ((double_ % ",") % ";") >> ".txt"

Quick hack to fix this: ((double_ % ",") % ";") >> -lit('.') >> "txt"

This erroneously accepts "1,2;3,4txt" as valid input, but it should
behave correctly for all valid inputs and you may not care about false

Rainer Deyke (rainerd_at_[hidden])

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at