From f5f020c3aaea41209a1b472d9ad761b2996313d7 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 31 May 2011 21:52:39 +0000 Subject: [PATCH] The big regex at doMagicLinks deserves being more thoroughly studied. --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 5676b4154f..5983dd994b 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1197,7 +1197,7 @@ class Parser { (?: [0-9] [\ \-]? ){9} # 9 digits with opt. delimiters [0-9Xx] # check digit \b) - )!x', array( &$this, 'magicLinkCallback' ), $text ); + )!xS', array( &$this, 'magicLinkCallback' ), $text ); wfProfileOut( __METHOD__ ); return $text; } -- 2.20.1