package main

import (
	"regexp"
)

func newMatcher(pat string) (*regexp.Regexp, error) {
	return regexp.Compile(pat)
}

package main

import (
	"regexp"
	"strings"
)

func newMatcher(pat string) (*regexp.Regexp, error) {
	sp := strings.Split(pat, ",")
	pat2 := "(" + strings.Join(sp, "|") + ")"
	return regexp.Compile(pat2)
}

Implement branch matcher as fake
Implement branch matcher as fake
