aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/hardware.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-06-20 12:07:52 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-06-20 12:07:52 +0000
commit52fab44f032332d1e6b53b99a09b5321f6a9e965 (patch)
tree129db24e9c4b19badeb6630222a30a4fbbb2edcd /h-source/Application/Include/hardware.php
parentb104237e953dfc860bee165bc4e45b474f5144e0 (diff)
changed the regular expr for the model name (to allow comma)
Diffstat (limited to 'h-source/Application/Include/hardware.php')
-rw-r--r--h-source/Application/Include/hardware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index 816e7f1..e25c47c 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -41,7 +41,7 @@ class Hardware
"kernel" => "/^[a-zA-Z0-9\-\_\.\+\s\(\)\,]+$/",
"driver" => "/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/",
"vendorid_productid" => "/^[a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}$/",
- "model" => "/^[a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/]+$/",
+ "model" => "/^[a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/\,]+$/",
);
public static function translate($string)