#23175 [Opn->Bgs]: eregi
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)