#7231 [Com]: REG_ECOLLATE bug?

From: Date: Sun, 24 Nov 2002 00:38:14 +0000
Subject: #7231 [Com]: REG_ECOLLATE bug?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25684@lists.php.net to get a copy of this message
ID: 7231 Comment by: ray@winchzilla.com Reported By: andras@izone.hu Status: Closed Bug Type: Regexps related Operating System: Linux 2.2.14-5.0 PHP Version: 4.0.2 New Comment: I'm getting this too, hardcore, in any collation be it [^[.&lt;.]] or just [[.www.]] I dunno what's going on here Previous Comments: ------------------------------------------------------------------------ [2002-04-09 20:33:11] jimw@php.net the bundled regex library does not support multicharacter collating elements, either. ------------------------------------------------------------------------ [2002-03-09 11:30:09] david@greenhammer.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 ... ------------------------------------------------------------------------ [2000-10-15 21:39:57] andras@izone.hu ...and i've tried using simpler collations, ie. [[.en.]], and it still pukes. ------------------------------------------------------------------------ [2000-10-15 21:36:55] andras@izone.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?) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7231&edit=1

« previous php.bugs (#25684) next »