codefellows/sea-c16-javascript — pull request #204 by CodeErCn (2014-07-24 01:34:19+00:00)
Title: Fix the problem when no hit at the end of the string.

Add another else if statement to avoid string not get pushed when there is no match at the end of the string.