diff options
Diffstat (limited to 'gsxlib.php')
-rw-r--r-- | gsxlib.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -605,12 +605,12 @@ class GsxLib { $result = false; $rex = array( - 'partNumber' => '/^([A-Z]{1,2})?\d{3}\-?(\d{4}|[A-Z]{2})(\/[A-Z])?$/i', + 'partNumber' => '/^([A-Z]{1,2})?\d{3}\-?(\d{4,5}|[A-Z]{2})(\/[A-Z])?$/i', 'serialNumber' => '/^[A-Z0-9]{11,12}$/i', 'eeeCode' => '/^[A-Z0-9]{3,4}$/', // only match ALL-CAPS! 'returnOrder' => '/^7\d{9}$/', 'repairNumber' => '/^\d{12}$/', - 'dispatchId' => '/^G\d{9}$/', + 'dispatchId' => '/^[A-Z]+\d{9}$/', 'alternateDeviceId' => '/^\d{15}$/', 'diagnosticEventNumber' => '/^\d{23}$/', 'productName' => '/^i?Mac/', |