Hi Stephan

Regarding case: How about a general filter operator which defines case
> sensitivity?
>
> My proposal would be to look what Applescript has:
> http://books.gigatux.nl/mirror/applescriptdefinitiveguide/applescpttdg2-CHP-19-SECT-6.html
>
> So to see whether a title ends with "/doc", ignoring case, and starts with
> "Tech:", not ignoring case, one could then write:
>
> [ ignoring[case] suffix[/doc] considering[case] prefix[Tech:] ]
>
> Instead of "case" one could also use (combinations of): case, punctuation,
> whitespace, hyphens (The other examples in AppleScript, I don't know
> whether they are implementable).
>

Interesting idea. My concern would be that these new directives are
indistinguishable from filter operators, and yet don't behave in the same
way. There's some attraction to the consistency of all filter operators
performing filtering.

The other concern would be that each filter operator would need to
explicitly support the required directives.

I guess the question might be whether there are use cases that can't be
satisfied with a regexp filter (given that regexps can do the examples you
mention from AppleScript).

Best wishes

Jeremy.





-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to