Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dumpRegexp (0.35 sec)

  1. src/regexp/syntax/parse_test.go

    		}
    	case OpConcat, OpAlternate:
    		for _, sub := range re.Sub {
    			dumpRegexp(b, sub)
    		}
    	case OpStar, OpPlus, OpQuest:
    		dumpRegexp(b, re.Sub[0])
    	case OpRepeat:
    		fmt.Fprintf(b, "%d,%d ", re.Min, re.Max)
    		dumpRegexp(b, re.Sub[0])
    	case OpCapture:
    		if re.Name != "" {
    			b.WriteString(re.Name)
    			b.WriteByte(':')
    		}
    		dumpRegexp(b, re.Sub[0])
    	case OpCharClass:
    		sep := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/helpers_test.go

    				match := jumpRegexp.FindStringSubmatch(rule)
    				rule = strings.TrimPrefix(rule, match[0])
    
    				tracer.matches = append(tracer.matches, ruleObj.Rule)
    				tracer.markMasq = true
    
    			case jumpRegexp.MatchString(rule):
    				// `^(jump|goto) (\S+)$`
    				// Jumps to another chain.
    				match := jumpRegexp.FindStringSubmatch(rule)
    				rule = strings.TrimPrefix(rule, match[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top