I'm learning English in recent days and I read something made me really confused. The sentence is:
π[q] is the length of the longest prefix of P that is a proper suffix of Pq.
I see that "that is a proper suffix of Pq" is a relative clause, but I don't understand what the proper suffix of Pq is, is it π[q] or something else?