|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7231 REG_ECOLLATE bug?
Submitted: 2000-10-15 21:36 UTC Modified: 2002-04-09 20:33 UTC
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: andras at izone dot hu Assigned:
Status: Closed Package: Regexps related
PHP Version: 4.0.2 OS: Linux 2.2.14-5.0
Private report: No CVE-ID: None
 [2000-10-15 21:36 UTC] andras at izone dot hu
[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?)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-15 21:39 UTC] andras at izone dot hu
...and i've tried using simpler collations, ie. [[.en.]], and it still pukes.

 [2002-03-09 11:30 UTC] david at greenhammer dot com
Same problem, different version, different OS:

PHP version 4.1.2

A one-character coallating sequence functions correctly, but a multi-character sequence generates the error:

Warning:  REG_ECOLLATE in ...
 [2002-04-09 20:33 UTC]
the bundled regex library does not support multicharacter collating elements, either.
 [2002-11-23 18:38 UTC] ray at winchzilla dot com
I'm getting this too, hardcore, in any collation be it [^[.&lt;.]] or just [[.www.]]

I dunno what's going on here
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 18:01:30 2024 UTC