cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Crafter <craft...@dresdnerbank.de>
Subject Re: [C2 & patch] Re: Matchers and Selectors (was Re: Better and Betterand RT)
Date Tue, 14 Nov 2000 09:00:09 GMT
On Mon, 13 Nov 2000, Marcus Crafter wrote:

> On Sun, 12 Nov 2000, Giacomo Pati wrote:
> 
> > Marcus Crafter wrote:
> > > 
> 	I thought about the following operator set:
> 
> 	Programmer style      Quasi-English style
> 	-----------------------------------
> 	==                    eq
> 	!=                    ne
> 	<                     lt
> 	>                     gt
> 	<=                    le
> 	>=                    ge
> 	&&                    and
> 	||                    or
> 	!                     not
> 
> 	and even for the perl dudes:
> 
> 	=~                    matches (?)

	After thinking about it last night, perhaps this last one should be
	covered by a 'matcher' and not a 'selector' ? What I was aiming for
	was a way to be able to save people needing to write '.. or ... or
	.. or .. or .. or', etc. Regular expressions seemed natural enough.

	I'll can implement the others first, and after a bit of usage we can
	see if the last one makes sense as a selector test case ?

	Comments anyone ?

	Cheers,

	Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : Marcus.Crafter@osa.de
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:           After Hours    : +49 69 49086750


Mime
View raw message