note 13205 deleted from function.eregi by jimw

From: Date: Fri, 02 Nov 2001 02:05:06 +0000
Subject: note 13205 deleted from function.eregi by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20232@lists.php.net to get a copy of this message
i'm not sure if this is a bug or built in, i think it may be a bug, anyways this took a lot of my time, let's say your searching for several characters in $domain if(ereg("[abc]", $domain)) -> no problem! but let's say you want to search abc] normally you add a slash in front of special characters and it works but it doesn't work for ] if(ereg("[abc\]]", $domain)) -> SCREWS UP.. DOESN'T SEARCH PROPERLY the quick fix? if(ereg("[abc\x5d]]", $domain))

« previous php.notes (#20232) next »