[tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread TheDiveO
TW5 is a godsend hacking-wise and also an architect's dream of modularity. As I'm customizing TW5 to my specific needs I note down what I did in documentation tiddlers. These doc tiddlers accompany the customization tiddlers. The documentation has the same title as the tiddler but with /doc

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread Jeremy Ruston
Hi TheDiveO For 5.0.16 I've added new suffix and removesuffix operators that I think will do what you need: https://github.com/Jermolene/TiddlyWiki5/commit/dcf4e93a3283e3e93cc14e50366f9b0252870835 https://github.com/Jermolene/TiddlyWiki5/commit/2e3221c4e0e8f4b2af5e6be4b9d04569e1bceda1 As a

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread TheDiveO
Ah, I've completely missed the regexp trick ... yes, that's workable. I've hacked in a removepostfix operator quickly myself and then noticed that most filters at this time are actually case insensitive. For my use case I need case sensitivity though. So I would like to ask for this to getting

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread TheDiveO
...case sensitivity for prefixcs, that is. (And not for all filters as my previous post might sound like.) -- 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

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread Jeremy Ruston
I've hacked in a removepostfix operator quickly myself and then noticed that most filters at this time are actually case insensitive. For my use case I need case sensitivity though. So I would like to ask for this to getting added to; maybe as the cs (case sensitive) variant as sortcs already

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread TheDiveO
Yes, it makes more sense this way. Thank you for the feature upgrade! -- TheDiveO -- 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

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread Stephan Hradek
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

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread Jeremy Ruston
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

Re: [tw] [TW5] How to check a tiddler's title (not) ending with a certain postfix?

2014-08-28 Thread Stephan Hradek
Am Donnerstag, 28. August 2014 17:36:05 UTC+2 schrieb Jeremy Ruston: The other concern would be that each filter operator would need to explicitly support the required directives. Except if you give us JavaScript comparators which support them. So instead of comparing 2 values with , ,