Philipp Stephani writes: >> I think the problem is that the assertion is off by 1, it currently >> asserts that there is at least one space between strings (because the >> end position goes *after* the string, while the start position is part >> of the string). >> >> I see the assertion was added in [1: 4fbd330fae]. Phillip, does my >> proposed change make sense to you? > > > Maybe :-) > Off-by-one errors are always a bit subtle, so it might definitely be the > case that there is one. If so, the problem could be further reduced to > ' '' ' > or similar. Could you add a unit test using such input and make sure that > it breaks without your patch? Yeah, the newlines are the important part it seems.