php.net |  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
Votes:2
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andras at izone dot hu
New email:
PHP Version: OS:

 

 [2000-10-15 21:36 UTC] andras at izone dot hu
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?)

Patches

Pull Requests

History

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
OS: FreeBSD 4.4-STABLE (GENERIC-SMP) #1

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] jimw@php.net
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: Sat Dec 21 17:01:58 2024 UTC