View definition

func MustCompile(str string) *Regexp

Defined in github.com/golang/go/src/regexp/regexp.go

Description

MustCompile is like Compile but panics if the expression cannot be parsed. It simplifies safe initialization of global variables holding compiled regular expressions.