fixed matcher for checking first line
another step in the direction of parsing out sentences with javascript