code: func removeMatching(name string, start, end byte) string {
  	s := string(start) + string(end)
  	var nesting, first, current int
  	for index := strings.IndexAny(name[current:], s); index != -1; index = strings.IndexAny(name[current:], s) {
  		switch current += index; name[current] {
  		case start:
  			nesting++
  			if nesting == 1 {
  				first = current
  			}
  		case end:
  			nesting--
  			switch {
  			case nesting < 0:
  				return name // Mismatch, abort
  			case nesting == 0:
  				name = name[:first] + name[current+1:]
  				current = first - 1
  			}
  		}
  		current++
  	}
  	return name
  }
docs: // removeMatching removes nested instances of start..end from name.