PCRE 8.34-1 Upgrade breaks expected regex behavior for MediaWiki

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

-- 
Pete


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux