[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: [PHP] Need help with a regular expression
From: Alex Hogan <hogana () gmail ! com>
Date: 2004-09-30 23:08:09
Message-ID: 4b7a4285040930160870eb8657 () mail ! gmail ! com
[Download RAW message or body]
[snip]
"^Q4_[0-9]$"
&
Yes, your understanding of "^Q4_.[0-9]$" is wrong.
[/snip]
Thanks guys..,
I did take the '.' out of the expression, but I also had to change the
way I was using it.
I replaced;
if($key == ereg( "^Q4_.[0-9]$", $key)){
with
if(ereg( "^Q4_.[0-9]$", $key)){
alex hogan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic