change matching pattern