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.htmlSo 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).