mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
remove unused IP regexp
This commit is contained in:
parent
71150820d5
commit
8d618bef70
@ -27,7 +27,6 @@ public class InetAddressUtils {
|
||||
static final Logger LOG = LoggerFactory.getLogger();
|
||||
|
||||
// Warning! IPv4 specific code
|
||||
public static final Pattern IP_ADDRESS_REGEX = Pattern.compile("\\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\b");
|
||||
public static final Pattern HOSTNAME_REGEX = Pattern.compile("\\b(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)+([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\b", CASE_INSENSITIVE);
|
||||
|
||||
public static InetAddress startRangeByNetmask(InetAddress address, InetAddress netmask) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user