original_string: private function resolvePregCallback($finded)
      {
  
          $matchEx = explode(' ', $this->getMatchUrl());
          $requestEx = explode(' ', $this->getRequestedUrl());
          $key = array_search($finded[0], $matchEx);
          $cln = $finded[1];
  
          if (strstr($cln, ':')) {
              list($cln, $filter) = explode(':', $cln);
          }
  
          if (!strstr($cln, '?')) {
              $add = isset($requestEx[$key]) && $requestEx[$key] !== '' ? $requestEx[$key] : false;
          } else {
              $add = isset($requestEx[$key]) ? $requestEx[$key] : null;
          }
  
          if($add !== null){
              // we gonna do run filter  now
              if (!$this->runFilter(isset($filter) ? $filter : $cln, $add)) {
                  throw new FilterMatchException('Your filter do not match');
              }
          }
  
          $this->parameters[$cln] = $add;
      }
code: private function resolvePregCallback($finded)
      {
  
          $matchEx = explode(' ', $this->getMatchUrl());
          $requestEx = explode(' ', $this->getRequestedUrl());
          $key = array_search($finded[0], $matchEx);
          $cln = $finded[1];
  
          if (strstr($cln, ':')) {
              list($cln, $filter) = explode(':', $cln);
          }
  
          if (!strstr($cln, '?')) {
              $add = isset($requestEx[$key]) && $requestEx[$key] !== '' ? $requestEx[$key] : false;
          } else {
              $add = isset($requestEx[$key]) ? $requestEx[$key] : null;
          }
  
          if($add !== null){
              // we gonna do run filter  now
              if (!$this->runFilter(isset($filter) ? $filter : $cln, $add)) {
                  throw new FilterMatchException('Your filter do not match');
              }
          }
  
          $this->parameters[$cln] = $add;
      }
code_tokens: private function resolvePregCallback ( $ finded ) { $ matchEx = explode ( ' ' , $ this -> getMatchUrl ( ) ) ; $ requestEx = explode ( ' ' , $ this -> getRequestedUrl ( ) ) ; $ key = array_search ( $ finded [ 0 ] , $ matchEx ) ; $ cln = $ finded [ 1 ] ; if ( strstr ( $ cln , ':' ) ) { list ( $ cln , $ filter ) = explode ( ':' , $ cln ) ; } if ( ! strstr ( $ cln , '?' ) ) { $ add = isset ( $ requestEx [ $ key ] ) && $ requestEx [ $ key ] !== '' ? $ requestEx [ $ key ] : false ; } else { $ add = isset ( $ requestEx [ $ key ] ) ? $ requestEx [ $ key ] : null ; } if ( $ add !== null ) { // we gonna do run filter  now if ( ! $ this -> runFilter ( isset ( $ filter ) ? $ filter : $ cln , $ add ) ) { throw new FilterMatchException ( 'Your filter do not match' ) ; } } $ this -> parameters [ $ cln ] = $ add ; }
docstring: resolve the preg callback
  
  @param array $finded
  @return bool|string
docstring_tokens: resolve the preg callback