Bug #14267: Ereg doesn't work on following
| From: | tonda at kmoch dot cz | Date: | Wed, 28 Nov 2001 15:14:15 +0000 |
| Subject: | Bug #14267: Ereg doesn't work on following | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71936@lists.php.net to get a copy of this message | ||
From: tonda@kmoch.cz
Operating system: Linux Redhat 7.1
PHP version: 4.0CVS-2001-11-28
PHP Bug Type: *Regular Expressions
Bug description: Ereg doesn't work on following
Dear PHP.net,
i have this part of script:
if (Ereg("^[a-zA-Z0-9_]{1,8}$", $login)) { ....
.
.
And this doesn't work correctly on any string containing character
'c'.
P.S. I am using PHP Version 4.0.4pl1
System: Linux porky.devel.redhat.com 2.2.17-8smp #1 SMP Fri Nov 17 16:12:17
--
Edit bug report at: http://bugs.php.net/?id=14267&edit=1