add multiple code snipped detection

only partially tested. I think everything should work but I have not
tried it.