note 11683 rejected and deleted from ereg by torben
| From: | torben@php.net | Date: | Fri, 02 Mar 2001 10:18:12 +0000 |
| Subject: | note 11683 rejected and deleted from ereg by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11772@lists.php.net to get a copy of this message | ||
Why does my regular expression match when I use [0-9]+ and not match when I use d+ when d should
mean exactly the same as [0-9] ???
Also: Why do I get a "Warning: REG_BADRPT" when I try to use [0-9]*? to do minimal
matching?
According to all the documentation I've found on PHP and regular expressions, is that it should
support d type specifiers and *? quantyfiers.