tfgg/magres-format

C++ & format: Define whitespace properly

tfgg opened this issue · 0 comments

tfgg commented

From Paul

I've modified the definition of white-space; the initial version just used ' ', while the definition says anything that regex '\s' accepts. But the latter definition is ambiguous, and you can't include the line separator in the token separator. The definition doesn't actually define the line separator (I think '\n' is fine).