basic parametrized path matching