From 68e5a2906b87171def9ed32609ce9586066d3eca Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 12 Aug 2006 06:12:54 +0000 Subject: [PATCH] Fixed regex in doMagicLinks (broken since r15976) --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index e41a12423f..ca08deb759 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -950,7 +950,7 @@ class Parser wfProfileIn( __METHOD__ ); $text = preg_replace_callback( '!(?: # Start cases - # Skip link text + | # Skip link text <.*?> | # Skip stuff inside HTML elements (?:RFC|PMID)\s+([0-9]+) | # RFC or PMID, capture number as m[1] ISBN\s+([0-9Xx-]+) # ISBN, capture number as m[2] -- 2.20.1