Answering an open problem in papers by Marcus and Paun (1994), we give
here two examples of infinite (nonalmost periodic) words omega such t
hat the set of subwords appearing infinitely many times in omega is co
ntext-free nonregular (in fact, one language is linear nonregular and
one is context-free nonlinear).