added subnet mask regex