const regexp/syntax.FoldCase
25 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#L56: FoldCase Flags = 1 << iota // case-insensitive match
parse.go#L163: if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) {
parse.go#L168: re.Flags = p.flags &^ FoldCase
parse.go#L178: if p.maybeConcat(re.Rune[0], p.flags|FoldCase) {
parse.go#L185: re.Flags = p.flags | FoldCase
parse.go#L213: if re1.Op != OpLiteral || re2.Op != OpLiteral || re1.Flags&FoldCase != re2.Flags&FoldCase {
parse.go#L237: if p.flags&FoldCase != 0 {
parse.go#L647: return re.Rune, re.Flags & FoldCase
parse.go#L1065: flags |= FoldCase
parse.go#L1471: if p.flags&FoldCase == 0 {
parse.go#L1562: if p.flags&FoldCase == 0 || fold == nil {
parse.go#L1663: if p.flags&FoldCase == 0 {
parse.go#L1716: if flags&FoldCase != 0 {
prog.go#L158: for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 && i.Rune[0] != utf8.RuneError {
prog.go#L215: if Flags(i.Arg)&FoldCase != 0 {
prog.go#L336: if Flags(i.Arg)&FoldCase != 0 {
regexp.go#L125: if re.Flags&FoldCase != 0 {
regexp.go#L131: 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#L380: if len(inst.Rune) == 1 && syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
onepass.go#L404: if syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)