Bug #2067: Regular expression [0-9A-Za-z] works not properly

From: Date: Mon, 16 Aug 1999 11:39:45 +0000
Subject: Bug #2067: Regular expression [0-9A-Za-z] works not properly
Groups: php.dev 
Request: Send a blank email to php-dev+get-9875@lists.php.net to get a copy of this message
From: maxx@via.ecp.fr Operating system: Debian GNU/Linux Potato PHP version: 3.0.11 PHP Bug Type: Misbehaving function Bug description: Regular expression [0-9A-Za-z] works not properly bug.php3 : <? $string = ereg_replace("[0-9A-Za-z]", "", $argv[1]); echo "$string\n"; ?> php3 bug.php3 '0Aa' => '' php3 bug.php3 '0Aa-' => '-' php3 bug.php3 '0Aa+' => ''

« previous php.dev (#9875) next »