matching patterns 3610245