add PATTERN_MATCH_ALL