separate match patterns