original_string: protected function normalizeArray(array $data)
      {
          $ret = [];
  
          foreach ($data as $key => $value) {
              if (!\is_string($key)) {
                  continue;
              }
  
              $ret[$key[0]] = [
                  'value' => $value,
                  'pattern' => $key,
              ];
          }
  
          return $ret;
      }
code: protected function normalizeArray(array $data)
      {
          $ret = [];
  
          foreach ($data as $key => $value) {
              if (!\is_string($key)) {
                  continue;
              }
  
              $ret[$key[0]] = [
                  'value' => $value,
                  'pattern' => $key,
              ];
          }
  
          return $ret;
      }
code_tokens: protected function normalizeArray ( array $ data ) { $ ret = [ ] ; foreach ( $ data as $ key => $ value ) { if ( ! \ is_string ( $ key ) ) { continue ; } $ ret [ $ key [ 0 ] ] = [ 'value' => $ value , 'pattern' => $ key , ] ; } return $ ret ; }
docstring: Normalize a preg_replace match array, removing the numeric keys and returning an associative array
  with the value and pattern values for the matched Transformer.
  
  @return array
docstring_tokens: Normalize a preg_replace match array removing the numeric keys and returning an associative array with the value and pattern values for the matched Transformer .