“…The decidability of the infiniteness/equivalence turn to be non-trivial: L(0, 1, 00, 11) and L(0, 1, 01, 10) are finite but L(00, 11, 000, 111) is infinite over A = {0, 1} (example from [8]), and L(ab, ba, a) is infinite but L(ab, ba, a, b) is finite over A = {a, b} (these two examples appear again in Section 4.1), for example. In addition, while L(w 1 , w 2 ) is always deterministic context-free (DCFL), it can also be regular (L(ab, ba) ⊆ {a, b} * is regular, for example) [8]. This kind of generalisation (from letter occurrences to word occurrences) is also considered in the context of the Parikh map [9].…”