Merge pull request #143 from go-enry/re-collation-at-codegen

Move venrod RE collation at codegen
This commit is contained in:
Alex
2022-12-02 10:11:39 +01:00
committed by GitHub
5 changed files with 99 additions and 90 deletions

View File

@ -7,3 +7,6 @@ var VendorMatchers = []regex.EnryRegexp{
regex.MustCompile(`{{ $regexp }}`),
{{end -}}
}
// FastVendorMatcher is equivalent to matching any of the VendorMatchers.
var FastVendorMatcher = regex.MustCompile(`{{ optimize . }}`)