PHP 4.0 Bug #7231: REG_ECOLLATE bug?
| From: | andras at izone dot hu | Date: | Mon, 16 Oct 2000 01:36:55 +0000 |
| Subject: | PHP 4.0 Bug #7231: REG_ECOLLATE bug? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35088@lists.php.net to get a copy of this message | ||
From: andras@izone.hu
Operating system: Linux 2.2.14-5.0
PHP version: 4.0.2
PHP Bug Type: *Regular Expressions
Bug description: REG_ECOLLATE bug?
ereg("^([^[.##.]]*)##([a-zA-Z0-9!]+)\|([^[.\?##.]]+)\?##"
[etc.] on
"##link|s=sztgy.jpg|a=C|b=N|c=rpa?## here it lies"
produces the following error:
Warning: REG_ECOLLATE in [..]parsetest.php on line 19
while <?phpinfo()?> shows:
Regex Library: Bundled library enabled
my system regex library says it doesn't support collations. that's fine. but according to
phpinfo() and the bundled regex manpage php's ereg_* should support it.
what's up with this?
(and yes, while configure-ing I did not explicitly say --with-regex=php but afaik that's the
default option which the 'bundled lib enabled' should reflect, right?)
--
Edit Bug report at: http://bugs.php.net/?id=7231&edit=1