Files

7 lines
224 B
PHP
Raw Permalink Normal View History

2015-05-29 11:01:55 +02:00
<?php
if (preg_match('/^Pacific Broadband Networks .+\n.+ Version ([^,]+), .+\n.+\n.+\nSerial num:([^,]+), .+/', $device['sysDescr'], $regexp_result)) {
2015-07-13 20:10:26 +02:00
$version = $regexp_result[1];
$serial = $regexp_result[2];
}