Fix regex for IPv6
Fix regex for IPv6

Only match strings which end with ::1

Fixes #830

Signed-off-by: Abhishek Chanda <efa542d77bbc590c230e120534fd6eb226ec47a4@gmail.com>

moul/docker,nalind/docker,jameszhan/docker,vdemeester/docker,docker/docker,thaJeztah/docker,paralin/docker,nawawi/docker,Mokolea/docker,jameszhan/docker,mahak/docker,moul/docker,bearstech/moby,nawawi/docker,cpuguy83/docker,konstruktoid/docker-upstream,bearstech/moby,Mokolea/docker,yosifkit/docker,nawawi/docker,bearstech/moby,AkihiroSuda/docker,bearstech/moby,nawawi/docker,docker/docker,Ramzec/docker,jthelin/docker,Ramzec/docker,docker/docker,thaJeztah/docker,yosifkit/docker,moby/moby,trebonian/docker,AkihiroSuda/docker,trebonian/docker,djs55/docker,trebonian/docker,gnailuy/docker,trebonian/docker,Ramzec/docker,gnailuy/docker,flavio/docker,yosifkit/docker,paralin/docker,djs55/docker,thaJeztah/docker,jimjag/docker,jimjag/docker,flavio/docker,mahak/docker,vdemeester/docker,moul/docker,nalind/docker,flavio/docker,konstruktoid/docker-upstream,moby/moby,paralin/docker,vdemeester/docker,jimjag/docker,AkihiroSuda/docker,Ramzec/docker,djs55/docker,moby/moby,mahak/docker,nalind/docker,flavio/docker,yosifkit/docker,gnailuy/docker,mahak/docker,AkihiroSuda/docker,Mokolea/docker,cpuguy83/docker,cpuguy83/docker,konstruktoid/docker-upstream,jameszhan/docker,moby/moby,thaJeztah/docker,konstruktoid/docker-upstream,cpuguy83/docker,jimjag/docker,moul/docker,nalind/docker,Mokolea/docker,jthelin/docker,paralin/docker,gnailuy/docker