我打算从我准备的txt文件中进行搜索,txt文件内容类似于下面这样一个.txtAmyJeffersonNathalieJohnsonEmmaWestDonnaJeffersonTanyaNathalieGeorgeWestEmmaWatsonEmmaJefferson如果代码是这样的a.php$filename="a.txt";$example=file($filename,FILE_IGNORE_NEW_LINES);$searchword='EmmaJefferson';$matches=array();foreach($exampleas$k=>$v){if(preg_match