Svag matchende rim for replacement function