func NewRegexMatcher(r *regexp.Regexp) *RegexMatcher {
	return &RegexMatcher{
		r: r,
	}
}
NewRegexMatcher builds a new url matcher from a compiled Regexp.
package martianurl
import (
	"net/http"
	"net/url"
	"regexp"
)
type RegexMatcher struct {
	r *regexp.Regexp
}