Bug #10741 Updated: ereg "-" problem only on 4.05 - critical!
| From: | koester at x-itec dot de | Date: | Wed, 09 May 2001 02:30:35 +0000 |
| Subject: | Bug #10741 Updated: ereg "-" problem only on 4.05 - critical! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54457@lists.php.net to get a copy of this message | ||
ID: 10741
User Update by: koester@x-itec.de
Old-Status: Open
Status: Closed
Bug Type: PCRE related
Operating system: FreeBSD 4.3
PHP Version: 4.0.5
Description: ereg "-" problem only on 4.05 - critical!
ok now the interesting part. As mentioned in the regex dox, "use - at the beginning or at the
end.." it works.
So far, so good - but, the regular expression worked before without this (necessary) change.
Interesting point. After rewriting some of my sources now everything works again, sorry for
bothering anyone.
Maybe it has something todo with my FreeBSD update from 4.2 to 4.3 (regex lib?) I don´t know.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-08 20:30:05] koester@x-itec.de
After updating from 4.04x to 4.05 i noticed a problem with regular expressions.
regular expression:
0-9a-zA-Z[:space:]-@&=?_+/:.;
should normally find this:
http://p.moreover.com/cgi-local/page?index_humanrights+rss
using ereg(i) command - but no chance.
If I delete this: "-" (cgi-local to cgilocal) it works.
The regular expression worked with 4.04x and since updating it does not work any longer.
I think its a "critical" bug.
Interesting is that I have only probs with "-", but it seems to be that there are some
more problems with another regular expression I had no time to analyze yet.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10741