adapter un patron à un échantillon différent