note 33996 deleted from function.preg-match by nathan
| From: | nathan@php.net | Date: | Sun, 13 Jul 2003 02:51:53 +0000 |
| Subject: | note 33996 deleted from function.preg-match by nathan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52007@lists.php.net to get a copy of this message | ||
Note Submitter: paulo at home
----
hi!
i just want to match a simple expression like
word=number;
with the equal sign and the semicolon
when using regex coach (a nice little program you can download at http://weitz.de/files/regex-coach.exe and
let's you analize regular expression) the string matching is ok, but when i try to use the
expression in the string i get no good result...
the code line i'm using is:
preg_match("([a-z]+)=([0-9]+);",$string,$matches);
can somebody please help me?
thanks