Svag matchende rim for reentrant program