Re: [PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
Curt Zirzow wrote: > * Thus wrote Adam i Agnieszka Gasiorowski FNORD ([EMAIL PROTECTED]): > > Eugene Lee wrote: > > > > > On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD > > > wrote: > > > : > > > : There is an array of regexes, for example > > > : > > > : $ar

Re: [PHP] sorting an array of regexes

2003-11-18 Thread Eugene Lee
On Tue, Nov 18, 2003 at 01:52:39PM +0100, Wouter van Vliet wrote: : Eugene Lee suggested: : > On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka : > Gasiorowski FNORD wrote: : > : : > : There is an array of regexes, for example : > : : > : $array = array('moon', '[wh]ood', '[^as]eed' ...

Re: [PHP] sorting an array of regexes

2003-11-18 Thread Curt Zirzow
* Thus wrote Adam i Agnieszka Gasiorowski FNORD ([EMAIL PROTECTED]): > Eugene Lee wrote: > > > On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD wrote: > > : > > : There is an array of regexes, for example > > : > > : $array = array('moon', '[wh]ood', '[^as]eed'

Re: [PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
Eugene Lee wrote: > On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD wrote: > : > : There is an array of regexes, for example > : > : $array = array('moon', '[wh]ood', '[^as]eed' ... > : (about 300 entries). > : > : I want to sort it comparing to the > :

RE: [PHP] sorting an array of regexes

2003-11-18 Thread Wouter van Vliet
> -Oorspronkelijk bericht- > Van: Eugene Lee [mailto:[EMAIL PROTECTED] > On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka > Gasiorowski FNORD wrote: > : > : There is an array of regexes, for example > : > : $array = array('moon', '[wh]ood', '[^as]eed' ... > : (about 300 entr

Re: [PHP] sorting an array of regexes

2003-11-18 Thread Eugene Lee
On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD wrote: : : There is an array of regexes, for example : : $array = array('moon', '[wh]ood', '[^as]eed' ... : (about 300 entries). : : I want to sort it comparing to the : character lenght of a regex. For

[PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
There is an array of regexes, for example $array = array('moon', '[wh]ood', '[^as]eed' ... (about 300 entries). I want to sort it comparing to the character lenght of a regex. For example [wh]ood is 4 characters, moon is 4 characters. There are only letters of the alphabet