运行以下代码
$mysqlquery = "SELECT `description` FROM `table`";
$sqlresourceid = mysql_query($mysqlquery);
$subject = mysql_fetch_row($sqlresourceid);
$regexisbn = '/(97(8|9))?\d{9}(\d|X)/i';
$pattern = '/.*/i';
$matches = preg_grep ($regexisbn, $subject);
var_dump($matches);
但是这会返回以下内容
ISBN10: 0470945176 by Paul D. Kimmel Publisher: John Wiley & Sons Copyright year: © 2011
我只是想让它返回 ISBN 0470945176 ,这是怎么回事?