Rewritten code in mp_clipboard.mpsl to use ~=.