Hi, not sure if I understand your requirement, but you can try:

Y not, chars star

Is this what you need?

Cheers Jan

On Sun, Aug 6, 2017, 04:47 Sean P. DeNigris <s...@clipperadams.com> wrote:

> vonbecmann wrote
> > did you try with negate?
>
> That is the standard trick with PP, but the problem here is that I'm trying
> to say, not just "anything which is not Y", but "any string of these
> characters as long is it doesn't also match Y"
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/PetitParser-Parse-X-as-long-as-it-s-not-Y-tp4958895p4958912.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>

Reply via email to