func (r *Oniguruma) Dispose() {
	r.reg.Free()
}
Dispose implements Disposer interface.
The function releases resources for oniguruma's precompiled regex
package regex
import (
	"time"
	rubex "github.com/src-d/go-oniguruma"
)
type Oniguruma struct {
	reg *rubex.Regexp
}
func (r *Oniguruma) Match(s string) bool {
	t := time.Now()
	defer MatchHistogram.With("string", s, "duration", "seconds").Observe(time.Since(t).Seconds())
	return r.reg.MatchString(s)
}