summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9697fe5)
raw | patch | inline | side by side (parent: 9697fe5)
author | lhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Sep 2009 13:04:52 +0000 (13:04 +0000) | ||
committer | lhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Sep 2009 13:04:52 +0000 (13:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14221 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc
index ecd1c3c1018357b8808a2666db077dd9aaccf8be..00d63d0be6b084e48148f3002aed6cd8ff95dc57 100644 (file)
/* check if given str in like this 0xffff*/
function is_2byteHex($str)
{
- return !strlen($str) || preg_match("/^(0x|)[a-f0-9]{4}$/i",$str);
+ return !strlen($str) || preg_match("/^(0x|)[A-Fa-f0-9]{4}$/i",$str);
}