#20661 [NEW]: Incorrectly identifies match
| From: | mbr at auswebdesign dot com dot au | Date: | Tue, 26 Nov 2002 21:03:58 +0000 |
| Subject: | #20661 [NEW]: Incorrectly identifies match | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25881@lists.php.net to get a copy of this message | ||
From: mbr@auswebdesign.com.au
Operating system: Linux redHat 7.0 and Solaris 8
PHP version: 4.2.3
PHP Bug Type: Regexps related
Bug description: Incorrectly identifies match
// 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 bug report at http://bugs.php.net/?id=20661&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20661&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20661&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20661&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20661&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20661&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20661&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20661&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20661&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20661&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20661&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20661&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20661&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20661&r=isapi