Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for reSubMatchMap (0.14 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    		// /crio-
    		`(?:[[:^punct:]]*/*)*crio[[:punct:]]` +
    		// non-punctuation end of string, i.e., the container ID
    		`(?P<containerid>[[:^punct:]]+)$`),
    }
    
    func reSubMatchMap(r *regexp.Regexp, str string) map[string]string {
    	match := r.FindStringSubmatch(str)
    	if match == nil {
    		return nil
    	}
    	subMatchMap := make(map[string]string)
    	for i, name := range r.SubexpNames() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top