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

Allan McRae allan at archlinux.org
Sun Dec 29 23:53:52 EST 2013

On 30/12/13 14:45, Peter Baldridge wrote:
> 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
> httpd/error.log:
>> 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

Bugs should be reported to the bug tracker where the maintainer of the
mediawiki package will see it (and may backport any patch applied upstream).


More information about the arch-general mailing list