[arch-general] PCRE 8.34-1 Upgrade breaks expected regex behavior for MediaWiki

Peter Baldridge petebaldridge at gmail.com
Sun Dec 29 23:45:31 EST 2013

Hello All,

The most recent upgrade to pcre 8.34-1 seems to disallow group names
starting with a digit.  A quote from the PCRE news.txt [1]:

> "Perl no longer allows group names to start with digits, so I have made this
change also in PCRE."

I found this bug report[2] on the mediawiki site that apparently has a
working patch though I'll probably just downgrade until the patch is
in the official package.

This breaks my MediaWiki install with the following error in the

>PHP Warning:  preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /usr/share/webapps/mediawiki/includes/MagicWord.php on line 907

I'm not sure how Arch would handle this since it is an upstream bug.
If someone needs any other info let me know.

[1] http://pcre.org/news.txt
[2] https://bugzilla.wikimedia.org/show_bug.cgi?id=58640


More information about the arch-general mailing list