RE: [PHP] Unable to match dollar sign in preg_match

2002-12-24 Thread Ford, Mike [LSS]
-Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: 24 December 2002 00:44 If you want to use some of PHP's special characters in your expression, Don't you mean preg's special characters? Or even PHP special characters which are also preg special

RE: [PHP] Unable to match dollar sign in preg_match

2002-12-24 Thread Ford, Mike [LSS]
-Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: 24 December 2002 00:44 I don't know. I just got that from reading the manual. The very first user comment on the preg_match page. Sorry, misread this before and took the explanation below as John replying to

Re: [PHP] Unable to match dollar sign in preg_match

2002-12-24 Thread Sean Burlington
: Monday, December 23, 2002 4:07 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Unable to match dollar sign in preg_match Hokay, that works, but what's with the triple backslashes? preg_match (/^.*_\%split\%_$(\d*\.\d*)/, $data, $match); Should be preg_match (/^.*_\%split\%_\\\$(\d*\.\d

RE: [PHP] Unable to match dollar sign in preg_match

2002-12-23 Thread John W. Holmes
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/ -- PHP General Mailing List

Re: [PHP] Unable to match dollar sign in preg_match

2002-12-23 Thread Randall Perry
Hokay, that works, but what's with the triple backslashes? 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

RE: [PHP] Unable to match dollar sign in preg_match

2002-12-23 Thread John W. Holmes
Professionals. Get your copy today. http://www.phparch.com/ -Original Message- From: Randall Perry [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 4:07 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Unable to match dollar sign in preg_match Hokay, that works, but what's