public static boolean matches(String wildcard, String ipAddress) {
		if (false == ReUtil.isMatch(PatternPool.IPV4, ipAddress)) {
			return false;
		}

		final String[] wildcardSegments = wildcard.split("\\.");
		final String[] ipSegments = ipAddress.split("\\.");

		if (wildcardSegments.length != ipSegments.length) {
			return false;
		}

		for (int i = 0; i < wildcardSegments.length; i++) {
			if (false == "*".equals(wildcardSegments[i])
				&& false == wildcardSegments[i].equals(ipSegments[i])) {
				return false;
			}
		}
		return true;
	}
@Test
	public void matchesTest() {
		final boolean matches1 = Ipv4Util.matches("127.*.*.1", "127.0.0.1");
		assertTrue(matches1);

		final boolean matches2 = Ipv4Util.matches("192.168.*.1", "127.0.0.1");
		assertFalse(matches2);
	}