[wp-trac] Re: [WordPress Trac] #4579: IPv6 IPs
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 5 15:38:00 GMT 2007
#4579: IPv6 IPs
----------------------------+-----------------------------------------------
Reporter: xiand0 | Owner: pishmishy
Type: defect | Status: assigned
Priority: low | Milestone: 2.4
Component: General | Version:
Severity: minor | Resolution:
Keywords: has-patch ipv6 |
----------------------------+-----------------------------------------------
Comment (by westi):
Replying to [comment:11 pishmishy]:
> Of course, sorry. Although you missed out the '.' :-) We also don't need
characters after f.
>
> {{{[^0-9a-fA-F.:, ]}}}
>
> (Question: why does the original regex include a comma, space and
{{{^}}}? I don't think those are necessary)
>
The !^ is an invert on the replace - i.e. replace anything that doesn't
match the regex
Comma and Space are needed because {{{$_SERVER['REMOTE_ADDR']}}} can
contain multiple IPs I believe.
--
Ticket URL: <http://trac.wordpress.org/ticket/4579#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list