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

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 entries). :

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 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 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 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 : : $array = array('moon',