Aug. 5, 2017
9:51 p.m.
did you try with negate? comment ^ ($" asParser , $" asParser negate star , $" asParser) flatten On Sat, Aug 5, 2017 at 5:26 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
How do I tell Petit Parser to parse a string of certain allowable characters 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'
Thanks
----- Cheers, Sean -- View this message in context: http://forum.world.st/ PetitParser-Parse-X-as-long-as-it-s-not-Y-tp4958895.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- Bernardo E.C. Sent from a cheap desktop computer in South America.