WARNING: HUGE COMMIT
[lhc/web/wiklou.git] / includes / normal / RandomTest.php
index de61b6f..018910c 100644 (file)
@@ -22,7 +22,7 @@
  * UtfNormal::cleanUp() code paths, and checks to see if there's a
  * difference. Will run forever until it finds one or you kill it.
  *
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
  * @access private
  */
 
@@ -69,7 +69,7 @@ function showDiffs( $a, $b ) {
        $formatter = new TableDiffFormatter();
        $funky = $formatter->format( $diffs );
        $matches = array();
-       preg_match_all( '/<(?:ins|del) class="diffchange">(.*?)<\/span>/', $funky, $matches );
+       preg_match_all( '/<(?:ins|del) class="diffchange">(.*?)<\/(?:ins|del)>/', $funky, $matches );
        foreach( $matches[1] as $bit ) {
                $hex = bin2hex( $bit );
                echo "\t$hex\n";
@@ -104,5 +104,3 @@ while( true ) {
        $clean = '';
        $norm = '';
 }
-
-?>