Fix issue 54 to handle the corner case when delimiter or end-of-line fall as the leading character of a new buffer
Merge pull request #55 from wli600/issue-54

Fix issue 54 to handle the corner case when delimiter or end-of-line fal...