did you try with negate?
^ ($" asParser , $" asParser negate star , $" asParser) flatten
On Sat, Aug 5, 2017 at 5:26 PM, Sean P. DeNigris <s...@clipperadams.com>
> How do I tell Petit Parser to parse a string of certain allowable
> as long as the final result isn't a particular string? E.g. consume an
> identifier as long as it's not 'Baz' or 'Bar'
> View this message in context: http://forum.world.st/
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Sent from a cheap desktop computer in South America.