public static boolean isHexNumber(String value) {
		if(StrUtil.startWith(value, '-')){
			// issue#2875
			return false;
		}
		int index = 0;
		if (value.startsWith("0x", index) || value.startsWith("0X", index)) {
			index += 2;
		} else if (value.startsWith("#", index)) {
			index ++;
		}
		try {
			new BigInteger(value.substring(index), 16);
		} catch (final NumberFormatException e) {
			return false;
		}
		return true;
	}
@Test
	public void isHexNumberTest() {
		assertTrue(HexUtil.isHexNumber("0"));
		assertTrue(HexUtil.isHexNumber("002c"));

		String a = "0x3544534F444";
		assertTrue(HexUtil.isHexNumber(a));

		// https://gitee.com/dromara/hutool/issues/I62H7K
		a = "0x0000000000000001158e460913d00000";
		assertTrue(HexUtil.isHexNumber(a));

		// 错误的
		a = "0x0000001000T00001158e460913d00000";
		assertFalse(HexUtil.isHexNumber(a));

		// 错误的,https://github.com/dromara/hutool/issues/2857
		a = "-1";
		assertFalse(HexUtil.isHexNumber(a));
	}