make multiline literal matching non-greedy and global