I am trying to find the index of all the word: \'print\' in a multi line text. But there are some problems, those are: