Comment 8 for bug 1072298

Revision history for this message
Thomas Gutzler (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6ln0-launchpad-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553jq53in4xm1m8wn3o4rlwaer06ogw) wrote :

You can always do this for ipv6:
if re.search('\(([0-2]?\d{0,2}\.){3}([0-2]?\d{0,2})(:S\.\d+){0,1}\)$', login) or re.search('\(([\da-fA-F]{1,4}:){7}([\da-fA-F]{1,4})(:S\.\d+){0,1}\)$', login)
but I haven't tested that