def match_metric
      str = config_get('route_map', 'match_metric', @get_args)
      return default_match_metric if str.empty?
      rarr = []
      larr = []
      metrics = str.split
      deviation = false
      metrics.each do |metric|
        deviation = true if metric == '+-'
        if !larr.empty? && !deviation
          larr << '0'
          rarr << larr
          larr = []
        end
        next if metric == '+-'
        if !larr.empty? && deviation
          larr << metric
          rarr << larr
          larr = []
          deviation = false
          next
        end
        larr << metric if larr.empty?
      end
      unless larr.empty?
        larr << '0'
        rarr << larr
      end
      rarr
    end
def match_metric
      str = config_get('route_map', 'match_metric', @get_args)
      return default_match_metric if str.empty?
      rarr = []
      larr = []
      metrics = str.split
      deviation = false
      metrics.each do |metric|
        deviation = true if metric == '+-'
        if !larr.empty? && !deviation
          larr << '0'
          rarr << larr
          larr = []
        end
        next if metric == '+-'
        if !larr.empty? && deviation
          larr << metric
          rarr << larr
          larr = []
          deviation = false
          next
        end
        larr << metric if larr.empty?
      end
      unless larr.empty?
        larr << '0'
        rarr << larr
      end
      rarr
    end
match metric 1 8 224 +- 9 23 5 +- 8 6