diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-01-12 10:28:50 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-01-12 10:28:50 +0200 |
commit | 7a46310b44d772a25ff775da4ea0b344ab7e1d0e (patch) | |
tree | 6f1317d0708ab37df73fc9f78464d41d60023bb8 /gsxlib.php | |
parent | 8578d726b575bcadfff9c1f590442e46b5069471 (diff) | |
download | gsxlib-7a46310b44d772a25ff775da4ea0b344ab7e1d0e.tar.gz gsxlib-7a46310b44d772a25ff775da4ea0b344ab7e1d0e.tar.bz2 gsxlib-7a46310b44d772a25ff775da4ea0b344ab7e1d0e.zip |
Modified readme
Diffstat (limited to 'gsxlib.php')
-rw-r--r-- | gsxlib.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -186,7 +186,7 @@ class GsxLib $like => $query )); - return $this->request($request); + return $this->request($request)->activationDetailsInfo; } @@ -523,8 +523,8 @@ class GsxLib { $result = false; $rex = array( - 'partNumber' => '/^([A-Z]{1,2})?\d{3}\-?(\d{4}|[A-Z]{2})(/[A-Z])?$/i', - 'serialNumber' => '/^[a-z0-9]{11,12}$/i', + 'partNumber' => '/^([A-Z]{1,2})?\d{3}\-?(\d{4}|[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}$/', |