问题来源于预期regexes将与"grep“或某些编程语言的工作方式相同或接近。在中,第22行我找到了行:kwic(immigCorpus, "deport", window = 3) [BNP, 157] The BNP will | deportvaluetype = "regex")[BNP, 157] The BNP will | deport | all foreigners convictedkwico
of the world but also some very great cakes but I want to find this last part : isn't it")kwic(text,phrase("great* cake*"))[text1, 7:8] want to find both the | greatestbut also
[text1, 16:17] world but also some very | gre