dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b97850e
)
fixed regex
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 26 May 2004 21:11:54 +0000
(21:11 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 26 May 2004 21:11:54 +0000
(21:11 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
807f544
..
283fc6f
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1220,7
+1220,7
@@
class Parser
}
# Double brace substitution
- $regex = "/(\\n?){{([$titleChars
]*?({{[$titleChars]+}})?
)(\\|.*?|)}}/s";
+ $regex = "/(\\n?){{([$titleChars
{}_]*
)(\\|.*?|)}}/s";
$text = preg_replace_callback( $regex, "wfBraceSubstitution", $text );
array_pop( $this->mArgStack );