Bad predicate behavior?
josephwecker opened this issue · comments
Joseph Wecker commented
From the readme documentation:
&'a' 'b' # match a "b" preceded by an "a"
I haven't tried the library yet but got stuck on that line - does citrus implement and-predicates so that they consume characters? In normal PEG that expression would always fail because they would be looking at the same spot in the stream.
Michael Jackson commented
You're right. This is a bad example. Fixed here.