RE: [PHP] Unable to match dollar sign in preg_match
| From: | John W. Holmes | Date: | Mon, 23 Dec 2002 20:58:34 +0000 |
| Subject: | RE: [PHP] Unable to match dollar sign in preg_match | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129227@lists.php.net to get a copy of this message | ||
> preg_match ("/^.*_\%split\%_$(\d*\.\d*)/", $data, $match);
Should be
preg_match ("/^.*_\%split\%_\\\$(\d*\.\d*)/", $data, $match);
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/