PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

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%)
View/Vote Developer Edit Submission

Welcome! If you don't have a SVN account, you can't do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
SVN Username: SVN Password:
Quick Fix:
Status: Assign to:
Category:
Summary:
From: andras at izone dot hu
New email:
Version: OS:
New/Additional Comment:

[15 Oct 2000 9:36pm 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?)
[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 [^[.&lt;.]] or
just [[.www.]]

I dunno what's going on here

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC