original_string: public static function convertQuotes($str)
      {
  
          $r = "/\[q(?:uote)?\](.*?)\[\/q(?:uote)?\]/is";
          while(preg_match($r, $str)){
              $str = preg_replace($r, '<blockquote class="quote"><p>\\1</p></blockquote>', $str);
          }
  
          return $str;
      }
code: public static function convertQuotes($str)
      {
  
          $r = "/\[q(?:uote)?\](.*?)\[\/q(?:uote)?\]/is";
          while(preg_match($r, $str)){
              $str = preg_replace($r, '<blockquote class="quote"><p>\\1</p></blockquote>', $str);
          }
  
          return $str;
      }
code_tokens: public static function convertQuotes ( $ str ) { $ r = "/\[q(?:uote)?\](.*?)\[\/q(?:uote)?\]/is" ; while ( preg_match ( $ r , $ str ) ) { $ str = preg_replace ( $ r , '<blockquote class="quote"><p>\\1</p></blockquote>' , $ str ) ; } return $ str ; }
docstring: Converts quotes into quoted text blocks
  
  @param unknown_type $str
docstring_tokens: Converts quotes into quoted text blocks