The big regex at doMagicLinks deserves being more thoroughly studied.
This commit is contained in:
parent
8c206451b2
commit
f5f020c3aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue