add netmask regex extraction too