dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f65ce02
)
Follow-up r82093: fixed comment :)
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 13 Feb 2011 23:30:26 +0000
(23:30 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 13 Feb 2011 23:30:26 +0000
(23:30 +0000)
includes/IP.php
patch
|
blob
|
history
diff --git
a/includes/IP.php
b/includes/IP.php
index
e64c0ca
..
5f492c6
100644
(file)
--- a/
includes/IP.php
+++ b/
includes/IP.php
@@
-48,7
+48,7
@@
define( 'RE_IPV6_ADD',
'|' . // contains no "::"
RE_IPV6_WORD . '(?::' . RE_IPV6_WORD . '){7}' .
')'
- // NOTE: With PCRE 7.2+, we can combine the
last two cases into one regex
:
+ // NOTE: With PCRE 7.2+, we can combine the
two '"::" in the middle' cases into
:
// RE_IPV6_WORD . '(?::((?(-1)|:))?' . RE_IPV6_WORD . '){1,6}(?(-2)|^)'
// This also improves regex concatenation by using relative references.
);