Thanks for your answers.
@Amit Langote: I had a look and found out that pg_bigm doesn't support similar matchesÂ
@Dann Corbit: The idea with the sequences makes sence. I had a look and I'm not sure, if they support similar sequences
Janek