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#L59: FoldCase Flags = 1 << iota // case-insensitive match
parse.go#L297: if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) {
parse.go#L302: re.Flags = p.flags &^ FoldCase
parse.go#L312: if p.maybeConcat(re.Rune[0], p.flags|FoldCase) {
parse.go#L319: re.Flags = p.flags | FoldCase
parse.go#L347: if re1.Op != OpLiteral || re2.Op != OpLiteral || re1.Flags&FoldCase != re2.Flags&FoldCase {
parse.go#L371: if p.flags&FoldCase != 0 {
parse.go#L785: return re.Rune, re.Flags & FoldCase
parse.go#L1212: flags |= FoldCase
parse.go#L1618: if p.flags&FoldCase == 0 {
parse.go#L1801: if p.flags&FoldCase == 0 || fold == nil {
parse.go#L1902: if p.flags&FoldCase == 0 {
parse.go#L1971: 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 {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)