https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
Summary: preg_match cannot compile pattern in includes/IP.php Product: MediaWiki Version: 1.17-svn Platform: All OS/Version: All Status: NEW Severity: normal Priority: Normal Component: Blocking AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: p.ora...@xs4all.nl After svn update to r76651 the following warning is shown: Warning: preg_match() [function.preg-match]: Compilation failed: assertion expected after (?( at offset 157 in [my server]/mediawiki-trunk/includes/IP.php on line 85 The actual regex="/^((::|:(:([0-9A-Fa-f]{1,4})){1,7})|([0-9A-Fa-f]{1,4})(:([0-9A-Fa-f]{1,4})){0,6}::|([0-9A-Fa-f]{1,4})(:([0-9A-Fa-f]{1,4})){7}|([0-9A-Fa-f]{1,4})(:(?P<abbr>(?(abbr)|:))?([0-9A-Fa-f]{1,4})){1,6}(?(abbr)|^))(\/(12[0-8]|1[01][0-9]|[1-9]?\d)|)$/" Used software versions: mediawiki: 1.17alpha (r76658) PHP: 5.2.8 (but somehow does not accept the syntax "(?<name>)" which should work as of version 5.2.2, see http://php.net/manual/en/function.preg-match.php) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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