The many1 nom Parser Panics With multispace0 in Rust
Still learning how all this stuff works, but it seems like multispace0
won't throw an error that many1
needs to stop trying to process. I thought many1
would stop on it's own error, but I don't think that's the case. I think it only stops it if gets an error from a child parser.
use multispace0;
use many1;
use IResult;
If you add something like this below the multispace line, the output shows two dashes and returns the rest of the content.
let = tag?;
-- end of line --