Found with m/\b([a-zA-Z]+) \1\b/ and m/\b([a-zA-Z]+)\n[ \t]*// \1\b/.
Package integrate provides numerical evaluation of definite integrals of single-variable functions for the Go programming language.