original_string: protected function parsePattern($pattern)
      {
          $patterns = explode(';', $pattern);
          if (!isset($patterns[1])) {
              // No explicit negative pattern was provided, construct it.
              $patterns[1] = '-' . $patterns[0];
          }
          return $patterns;
      }
code: protected function parsePattern($pattern)
      {
          $patterns = explode(';', $pattern);
          if (!isset($patterns[1])) {
              // No explicit negative pattern was provided, construct it.
              $patterns[1] = '-' . $patterns[0];
          }
          return $patterns;
      }
code_tokens: protected function parsePattern ( $ pattern ) { $ patterns = explode ( ';' , $ pattern ) ; if ( ! isset ( $ patterns [ 1 ] ) ) { // No explicit negative pattern was provided, construct it. $ patterns [ 1 ] = '-' . $ patterns [ 0 ] ; } return $ patterns ; }
docstring: Parses the given pattern and returns patterns for positive and negative numbers
  
  @param string $pattern
  @return array
docstring_tokens: Parses the given pattern and returns patterns for positive and negative numbers