func init()

in cqlprotodoc/spec/spec.go [202:208]


func init() {
	s := xurls.Strict.String()
	r := `(?:<URL>)|[Ss]ection (\d+(?:\.\d+)*)|[Ss]ections (\d+(?:\.\d+)*(?:(?:, (?:and )?| and )\d+(?:\.\d+)*)*)`
	linkifyRegexp = regexp.MustCompile(strings.ReplaceAll(r, "<URL>", s))
	sectionSubexpIdx = xurls.Strict.NumSubexp()*2 + 2
	sectionsSubexpIdx = (xurls.Strict.NumSubexp()+1)*2 + 2
}