From 7a46310b44d772a25ff775da4ea0b344ab7e1d0e Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sat, 12 Jan 2013 10:28:50 +0200 Subject: Modified readme --- gsxlib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gsxlib.php') diff --git a/gsxlib.php b/gsxlib.php index b32539a..a12e8c0 100644 --- a/gsxlib.php +++ b/gsxlib.php @@ -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}$/', -- cgit v1.2.3