use matchPattern replace normalizeBackslashes

It seems like to be `matchPattern` here