const regexp/syntax.FoldCase

24 uses

	regexp/syntax (current package)
		compile.go#L277: 	flags &= FoldCase // only relevant flag is FoldCase
		compile.go#L280: 		flags &^= FoldCase
		compile.go#L287: 	case flags&FoldCase == 0 && (len(r) == 1 || len(r) == 2 && r[0] == r[1]):
		parse.go#L58: 	FoldCase      Flags = 1 << iota // case-insensitive match
		parse.go#L296: 		if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) {
		parse.go#L301: 		re.Flags = p.flags &^ FoldCase
		parse.go#L311: 		if p.maybeConcat(re.Rune[0], p.flags|FoldCase) {
		parse.go#L318: 		re.Flags = p.flags | FoldCase
		parse.go#L346: 	if re1.Op != OpLiteral || re2.Op != OpLiteral || re1.Flags&FoldCase != re2.Flags&FoldCase {
		parse.go#L370: 	if p.flags&FoldCase != 0 {
		parse.go#L784: 	return re.Rune, re.Flags & FoldCase
		parse.go#L1211: 			flags |= FoldCase
		parse.go#L1617: 	if p.flags&FoldCase == 0 {
		parse.go#L1708: 	if p.flags&FoldCase == 0 || fold == nil {
		parse.go#L1809: 		if p.flags&FoldCase == 0 {
		parse.go#L1878: 	if flags&FoldCase != 0 {
		prog.go#L160: 	for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 && i.Rune[0] != utf8.RuneError {
		prog.go#L217: 		if Flags(i.Arg)&FoldCase != 0 {
		prog.go#L338: 		if Flags(i.Arg)&FoldCase != 0 {
		regexp.go#L140: 				if re.Flags&FoldCase != 0 {

	regexp
		onepass.go#L59: 	for iop(i) == syntax.InstRune && len(i.Rune) == 1 && syntax.Flags(i.Arg)&syntax.FoldCase == 0 && i.Rune[0] != utf8.RuneError {
		onepass.go#L373: 			if len(inst.Rune) == 1 && syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
		onepass.go#L397: 			if syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {