#20661 [Opn->Csd]: Incorrectly identifies match
| From: | sniper@php.net | Date: | Wed, 27 Nov 2002 02:21:07 +0000 |
| Subject: | #20661 [Opn->Csd]: Incorrectly identifies match | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25924@lists.php.net to get a copy of this message | ||
ID: 20661
Updated by: sniper@php.net
Reported By: mbr@auswebdesign.com.au
-Status: Open
+Status: Closed
Bug Type: Regexps related
Operating System: Linux redHat 7.0 and Solaris 8
PHP Version: 4.2.3
New Comment:
Your example script works fine here with latest CVS of 4.3.0-dev
branch.
Previous Comments:
------------------------------------------------------------------------
[2002-11-26 15:03:58] mbr@auswebdesign.com.au
// finds 17 (also 15) but not 27 in option pattern >> see below
if(ereg("5|7","17")){
print "found";
}else{
print "not found";
}
./configure' '--prefix=/usr' '--with-apxs' '--with-mysql'
'--with-pgsql' '--with-gd' '--with-jpeg-dir=/usr/lib'
'--with-png-dir=/usr/lib' '--with-ttf' '--with-zlib'
'--with-openssl'
'--with-imap' '--with-imap-ssl' '--with-kerberos'
'--with-gettext'
'--with-mcrypt'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20661&edit=1