From 16514740cffd676a12457fa6b3ac2f0127fadc05 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 22 Aug 2004 09:57:12 +0000 Subject: [PATCH] Remove what seems to be an accidentally checked-in testing line: '/([^> ]+(0(1|3|9);)[^< ]*)/i' => '\\1', (Originally added by gwicke in revision 1.197) With very long 'words' this regexp is super slow, and causes timeouts: Bug 183: timeout in Parser.php with Tidy http://bugzilla.wikipedia.org/show_bug.cgi?id=183 --- includes/Parser.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 369f04f759..071df0705a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -146,7 +146,6 @@ class Parser '/ (\\?|:|;|!|\\302\\273)/i' => ' \\1', # french spaces, Guillemet-right '/(\\302\\253) /i' => '\\1 ', - '/([^> ]+(0(1|3|9);)[^< ]*)/i' => '\\1', '/
/i' => '
', '/<\\/center *>/i' => '
' ); -- 2.20.1