Re: preg_math problem with vars as the find
| From: | Jim Lucas | Date: | Thu, 24 Apr 2003 22:21:09 +0000 |
| Subject: | Re: preg_math problem with vars as the find | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145202@lists.php.net to get a copy of this message | ||
i would go and re-read the section on the arguments for preg_match.
If I recall correctly, it has three required arguments.
Jim Lucas
----- Original Message -----
From: "dan rossi" <daniel@electroteque.org>
To: "Php-General" <php-general@lists.php.net>
Sent: Thursday, April 24, 2003 4:17 PM
Subject: [PHP] preg_math problem with vars as the find
> $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 :\
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>