Agreed. Also, we already have the "string compare" patch, which should likely be called "grep".

compare isn't quite grep -- compare is used to sort strings alphabetically (i.e. it can return -1, 0, or 1, for Input A before Input B, Input A == Input B, and Input B before Input A respectively). Grep is solely boolean (needle is located in haystack) -- the QC string compare returns 0, 1, or 2 (because negatives aren't possible on index ports ... meh), but the idea is the same. Also, QC string compare is always case insensitive (an extra boolean input + ~2 lines of code could make it optional like the grep patch).

(man, this is bringing back comp sci flashbacks. who's up for a red- black tree patch? or a best-fit/worst-fit patch? ;)

--
[ christopher wright ]
[email protected]
http://kineme.net/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to