Bug with Repeat<P>
: Match in Pos<P>
sequence fails without severity
#123
Labels
bug
Something isn't working
This is somehow complicated to describe, and only happens with #105 which becomes merged soon.
Test+
(becomingPos<Test>
, which becomesRepeat<Test, min:1, max:void, blur:true>
only is matched when additional chars are provided. This is, because the'#'
-match will become void as simple matches have severity 0. Therefore,Repeat<P>
fails at the position marked:The problem at this point is: Input is consumed, but Repeat relies on the res-list. An additional variable could solve the problem, but is this the solution?
Repeat
must be implemented as optimal as possible.The text was updated successfully, but these errors were encountered: