Debian Codegraph @

benchmarks_stdlib_test.go

raw symbols SCIP
1 //go:build re2_bench_stdlib
2
3 package re2
4
5 import "regexp"
6
7 func MustCompileBenchmark(expr string) *regexp.Regexp {
8 return regexp.MustCompile(expr)
9 }
10
11 func CompileBenchmark(expr string) (*regexp.Regexp, error) {
12 return regexp.Compile(expr)
13 }