https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #24 from Paul Oranje 2010-11-21 21:07:43 UTC
---
The workaround works also with my old PCRE.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You ar
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
Aaron Schulz changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
Aaron Schulz changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
Aaron Schulz changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #20 from Aaron Schulz 2010-11-17 23:04:04
UTC ---
(In reply to comment #19)
> Besides the above requirement, the makefile contains a severe warning that the
> tests should not be run on a production system. For that reason I shall
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #19 from Paul Oranje 2010-11-17 22:26:46 UTC
---
Besides the above requirement, the makefile contains a severe warning that the
tests should not be run on a production system. For that reason I shall not run
the test. Sorry.
When
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #18 from Aaron Schulz 2010-11-17 22:10:49
UTC ---
Of course, phpunit has to be installed first :)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
Y
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #17 from Aaron Schulz 2010-11-17 22:10:20
UTC ---
(In reply to comment #16)
> Your last variant does not produce errors.
>
> Whether the regex actually works cannot be tested by me - my hosting provider
> does not have IPv6 connec
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #16 from Paul Oranje 2010-11-17 22:01:04 UTC
---
Your last variant does not produce errors.
Whether the regex actually works cannot be tested by me - my hosting provider
does not have IPv6 connectivity.
p.s.
This has been an inte
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #15 from Aaron Schulz 2010-11-17 21:11:50
UTC ---
(In reply to comment #13)
> Sorry, but it doesn't work yet.
>
> The error msg:
> Compilation failed: reference to non-existent subpattern at offset 163 in
> [myserver]/mediawiki-
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #14 from Aaron Schulz 2010-11-17 17:28:08
UTC ---
(In reply to comment #13)
> Sorry, but it doesn't work yet.
>
> The error msg:
> Compilation failed: reference to non-existent subpattern at offset 163 in
> [myserver]/mediawiki-
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #13 from Paul Oranje 2010-11-17 10:57:51 UTC
---
Sorry, but it doesn't work yet.
The error msg:
Compilation failed: reference to non-existent subpattern at offset 163 in
[myserver]/mediawiki-trunk/includes/IP.php on line 92.
--
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #12 from Aaron Schulz 2010-11-17 09:13:34
UTC ---
OK, I changed the regex in r76876. It now avoids conditionals on whether a
named group matched.
This should be fine on 4.0+, does this give you any trouble?
--
Configure bugmail:
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #11 from Aaron Schulz 2010-11-16 09:34:30
UTC ---
(In reply to comment #8)
> It looks like (?(name)x|y) was actually the oldest named group assertion
> syntax, from "Version 4.0 17-Feb-03".
I found another log entry in the changel
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #10 from Paul Oranje 2010-11-16 09:24:31 UTC
---
Version of PCRE according to phpinfo() is "6.6 06-Feb-2006".
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail becaus
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #9 from Aaron Schulz 2010-11-15 17:06:06 UTC
---
Do you know what version of PCRE the host uses as the PHP extension?
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mai
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #8 from Aaron Schulz 2010-11-15 16:29:02 UTC
---
It looks like (?(name)x|y) was actually the oldest named group assertion
syntax, from "Version 4.0 17-Feb-03".
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?ta
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #7 from Aaron Schulz 2010-11-15 16:15:35 UTC
---
Before PHP 5.3, PCRE was an extension. The host might be using an old version.
From: http://www.pcre.org/changelog.txt
...Version 7.0 19-Dec-06...
(d) A conditional reference to
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #6 from Paul Oranje 2010-11-15 15:42:52 UTC ---
(In reply to comment #2)
> (In reply to comment #0)
>>[cut]
> > PHP: 5.2.8 (but somehow does not accept the syntax "(?)" which should
> > work as of version 5.2.2, see
> > http://php.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #5 from Aaron Schulz 2010-11-15 15:21:07 UTC
---
(In reply to comment #4)
> OK, I think the problem is that the backreference (not just the name) also
> needs the "P". *sigh of relief*.
I do think it's something about the conditio
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #4 from Aaron Schulz 2010-11-15 14:53:54 UTC
---
OK, I think the problem is that the backreference (not just the name) also
needs the "P". *sigh of relief*.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=e
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #3 from Aaron Schulz 2010-11-15 14:48:04 UTC
---
From: http://php.net/manual/en/function.preg-match.php
5.2.2 Named subpatterns now accept the syntax (?) and (?'name') as
well as (?P). Previous versions accepted only (?P).
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
--- Comment #2 from Aaron Schulz 2010-11-15 14:44:39 UTC
---
(In reply to comment #0)
> After svn update to r76651 the following warning is shown:
>
> Warning: preg_match() [function.preg-match]: Compilation failed: assertion
> expected af
https://bugzilla.wikimedia.org/show_bug.cgi?id=25920
Reedy changed:
What|Removed |Added
CC||jschulz_4...@msn.com
Component|Blocki
24 matches
Mail list logo