Well, I have this option in my tool I developed. But I defined my own way due my own need (And well, I didn't know anything about this but I supposed to be necesary and I invented my own way not knowing the other notation) for example:
a>>3 defines that a MUST appear three times ---> aaa is accepted and a<<3 defines that a can appear 0, 1, 2 or 3 times ---> epsilon, a , aa , aaa are accepted I would like to hear about your comments for my notation. another way I was thinking is to use the power symbol: a^3 a must appear 3 times ---> aaa is accepted a~3 a can appear from 0 to 3 times ---> epsilon, a , aa , aaa are accepted
_______________________________________________ PEG mailing list PEG@lists.csail.mit.edu https://lists.csail.mit.edu/mailman/listinfo/peg