private static function clearNonMatched($match_results){
    return array_filter($match_results, function($el){
      $keep = true;
      if($el === "" || (is_array($el) && empty($el))|| $el === null|| $el === array("")){
        $keep = false;
      }

      return $keep;
    });
  }