original_string: private function processParams($uri, $delimiter = ':')
      {
          if (strpos($uri, $delimiter) !== false) {
              preg_match_all(static::paramsRegex(), $uri, $matches, PREG_SET_ORDER);
  
              foreach ($matches as $match) {
                  $param = explode($delimiter, $match[1]);
                  if (count($param) === 2) {
                      $plain_var = filter_var($param[1], FILTER_SANITIZE_STRING);
                      $this->params[$param[0]] = $plain_var;
                      $uri = str_replace($match[0], '', $uri);
                  }
              }
          }
          return $uri;
      }
code: private function processParams($uri, $delimiter = ':')
      {
          if (strpos($uri, $delimiter) !== false) {
              preg_match_all(static::paramsRegex(), $uri, $matches, PREG_SET_ORDER);
  
              foreach ($matches as $match) {
                  $param = explode($delimiter, $match[1]);
                  if (count($param) === 2) {
                      $plain_var = filter_var($param[1], FILTER_SANITIZE_STRING);
                      $this->params[$param[0]] = $plain_var;
                      $uri = str_replace($match[0], '', $uri);
                  }
              }
          }
          return $uri;
      }
code_tokens: private function processParams ( $ uri , $ delimiter = ':' ) { if ( strpos ( $ uri , $ delimiter ) !== false ) { preg_match_all ( static :: paramsRegex ( ) , $ uri , $ matches , PREG_SET_ORDER ) ; foreach ( $ matches as $ match ) { $ param = explode ( $ delimiter , $ match [ 1 ] ) ; if ( count ( $ param ) === 2 ) { $ plain_var = filter_var ( $ param [ 1 ] , FILTER_SANITIZE_STRING ) ; $ this -> params [ $ param [ 0 ] ] = $ plain_var ; $ uri = str_replace ( $ match [ 0 ] , '' , $ uri ) ; } } } return $ uri ; }
docstring: Process any params based in this URL, supports any valid delimiter
  
  @param string $uri
  @param string $delimiter
  
  @return string
docstring_tokens: Process any params based in this URL supports any valid delimiter