[Bug 58640] =mediawiki-1.22.0 undesired behaviour with pcre-8.34 (using php-5.5.7)

2013-12-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58640

--- Comment #1 from Timo Gurr timo.g...@gmail.com ---
Created attachment 14127
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=14127action=edit
php-5.5.7-with-pcre-8.33.jpg

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58640] =mediawiki-1.22.0 undesired behaviour with pcre-8.34 (using php-5.5.7)

2013-12-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58640

Bartosz Dziewoński matma@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Bartosz Dziewoński matma@gmail.com ---
The regexes used on these lines (the $regex variable) do seem to have named
groups starting with a digit, e.g.

/(?P0_notoc__NOTOC__)|(?P0_nogallery__NOGALLERY__)|(?P0_forcetoc__FORCETOC__)|(?P0_toc__TOC__)|(?P0_noeditsection__NOEDITSECTION__)|(?P0_notitleconvert__NOTITLECONVERT__)|(?P1_notitleconvert__NOTC__)|(?P0_nocontentconvert__NOCONTENTCONVERT__)|(?P1_nocontentconvert__NOCC__)/iuS

I'm not quite sure what generates them right now, but it could probably be
changed to, say, insert a '_' at the beginning of the name or something.
It's rather silly of PCRE to break compatibility like that, though…

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l