1 Oct 2004 01:08
Re: Need help with a regular expression
Alex Hogan <hogana <at> gmail.com>
2004-09-30 23:08:09 GMT
2004-09-30 23:08:09 GMT
[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
RSS Feed