Finished currentWord matching, supports newlines