preg_math problem with vars as the find

From: Date: Thu, 24 Apr 2003 23:17:11 +0000
Subject: preg_math problem with vars as the find
Groups: php.general 
Request: Send a blank email to php-general+get-145200@lists.php.net to get a copy of this message
$res=fgets($this->connect,256); if (!preg_match("/\b\\\$code\b/",$res))echo $res."<br>"; hi guys this portion of code doesnt seem to work i cannot get code to be matched against , basically i am trying to match codes in a line of a sock smtp connection :\

« previous php.general (#145200) next »