rename package 'pattern' to 'match'