I am not quite sure what is going on in the function, but the invariant is that match is always non-nil after the loop is done, which seems suspicious to me. > Best regrds, Michael.