| Bug #7231 | REG_ECOLLATE bug? | ||||
|---|---|---|---|---|---|
| Submitted: | 15 Oct 2000 9:36pm UTC | Modified: | 9 Apr 2002 8:33pm UTC | ||
| From: | andras at izone dot hu | Assigned to: | |||
| Status: | Closed | Category: | Regexps related | ||
| Version: | 4.0.2 | OS: | Linux 2.2.14-5.0 | ||
| Votes: | 2 | Avg. Score: | 4.5 ± 0.5 | Reproduced: | 2 of 2 (100.0%) |
| Same Version: | 0 (0.0%) | Same OS: | 0 (0.0%) | ||
[15 Oct 2000 9:39pm UTC] andras at izone dot hu
...and i've tried using simpler collations, ie. [[.en.]], and it still pukes.
[9 Mar 2002 11:30am 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 ...
[9 Apr 2002 8:33pm UTC] jimw@php.net
the bundled regex library does not support multicharacter collating elements, either.
[23 Nov 2002 6:38pm UTC] ray at winchzilla dot com
I'm getting this too, hardcore, in any collation be it [^[.<.]] or just [[.www.]] I dunno what's going on here

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?)