task: use ip-regex directly