Fix issue 54 to handle the corner case when delimiter or end-of-line fall as the leading character of a new buffer