☰
Debian Codegraph
@
1.11.0-betterleaks.3-1
/
/
benchmarks_stdlib_test.go
☽
☼
benchmarks_stdlib_test.go
code
plain
raw
symbols
SCIP
Expat
2022 wasilibs authors; 2026 Zachary Rice
debian/copyright
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
}