I'm trying to parse a negated character with petit parser. I'm trying to parse
[^"]*
but the only thing I came up with is
($" asParser not, #any asParser) star flatten
Is there a better way to parse it or is this just the way to go? The not consuming not
parser is indeed useful if I need a combination of negation but the straight forward thing
I try to solve looks cumbersome.
thanks,
Norbert