original_string: protected function prepare_form_data($regexes) {
  
          $regexes = json_decode($regexes);
  
          $form = array();
  
          $i = 0;
  
          foreach ($regexes as $value => $regex) {
              $expressionname  = 'expression'.$i;
              $valuename = 'value'.$i;
  
              $form[$expressionname] = $regex;
              $form[$valuename] = $value;
              $i++;
          }
  
          return $form;
      }
code: protected function prepare_form_data($regexes) {
  
          $regexes = json_decode($regexes);
  
          $form = array();
  
          $i = 0;
  
          foreach ($regexes as $value => $regex) {
              $expressionname  = 'expression'.$i;
              $valuename = 'value'.$i;
  
              $form[$expressionname] = $regex;
              $form[$valuename] = $value;
              $i++;
          }
  
          return $form;
      }
code_tokens: protected function prepare_form_data ( $ regexes ) { $ regexes = json_decode ( $ regexes ) ; $ form = array ( ) ; $ i = 0 ; foreach ( $ regexes as $ value => $ regex ) { $ expressionname = 'expression' . $ i ; $ valuename = 'value' . $ i ; $ form [ $ expressionname ] = $ regex ; $ form [ $ valuename ] = $ value ; $ i ++ ; } return $ form ; }
docstring: Converts the string of regexes
  
  @see self::process_form_data()
  @param $regexes string of regexes
  @return array of form fields and their values
docstring_tokens: Converts the string of regexes