#23175 [Opn->Bgs]: eregi

From: Date: Sat, 12 Apr 2003 00:20:14 +0000
Subject: #23175 [Opn->Bgs]: eregi
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37587@lists.php.net to get a copy of this message
 ID:               23175
 Updated by:       magnus@php.net
 Reported By:      chiragvaland at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Strings related
 Operating System: Windows XP
 PHP Version:      4.3.1
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Please ask support questions in php-general mailinglist.


Previous Comments:
------------------------------------------------------------------------

[2003-04-11 17:28:08] chiragvaland at hotmail dot com

i am trying to validate a UK post code ie. kt1 2ls
and used the following to do so

eregi("^([[:alnum:]]{3,4})+(| )+([[:alnum:]]{3,4})$"

where(| ) corresponds to the space between 2 alphanumeric items, but
this error message appears

Warning: eregi() [function.eregi]: REG_EMPTY

is there anyway to check for a space in the text entered? (only one
space though)

------------------------------------------------------------------------

[2003-04-11 17:18:58] chiragvaland at hotmail dot com

Dear All,

i am trying to validate a UK post code ie. kt1 2ls
and used the following to do so

eregi("^([[:alnum:]]{3,4})+(| )+([[:alnum:]]{3,4})$"

where(| ) corresponds to the space between 2 alphanumeric items, but
this error message appears

Warning: eregi() [function.eregi]: REG_EMPTY

is there anyway to check for a space in the text entered? (only one
space though)

Thanking you in advance,
Chirag

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23175&edit=1



Thread (3 messages)

« previous php.bugs (#37587) next »