carets match after every newline