Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-22 Thread Jeremy Ruston
Hi Josh Here is the parts I can break the query up into: 1. $tw.wiki. - *This is my tiddlywiki, it is treated as an object? * - *Why is there a dollar sign$? * - *Or is this two objects (tw) and (wiki)?* $tw is a global JavaScript variable that TW5 sets up to store all it's

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-22 Thread Jeremy Ruston
Hi Josh I'm only just catching up with these strange bugs about unusual characters in tiddler titles. Very odd, I'm looking forward to finding out what's going on! Anyhow, you ought to be able to select tiddlers that contain an asterisk in their title like this: if(/\*/.exec(title)) Best

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-22 Thread Eric Shulman
On Friday, November 22, 2013 11:10:38 AM UTC-8, Jeremy Ruston wrote: ... extend the filter syntax to allow regular expressions to be used (which is planned). +1 for regexp support in filters. +2 if it can handle $1.. $9 syntax for using matched sub-expressions in subsequent parts of the

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-22 Thread Jeremy Ruston
OK, I've tracked down the bug that was preventing tiddler titles with wikitext formatting like * and @@ from working. It'll be fixed in alpha.16, Best wishes Jeremy On Fri, Nov 22, 2013 at 7:12 PM, Jeremy Ruston jeremy.rus...@gmail.comwrote: Hi Josh I'm only just catching up with these

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-22 Thread Jeremy Ruston
... extend the filter syntax to allow regular expressions to be used (which is planned). +1 for regexp support in filters. +2 if it can handle $1.. $9 syntax for using matched sub-expressions in subsequent parts of the filter. Cracking idea; ticketed:

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-22 Thread Josh
Excellent! Thanks Eric and Jeremy! Any idea when 16 is expected to be released? Great Idea Eric! Best wishes Jeremy -e -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group.

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-22 Thread Stephan Hradek
Am Freitag, 22. November 2013 20:46:55 UTC+1 schrieb Jeremy Ruston: ... extend the filter syntax to allow regular expressions to be used (which is planned). +1 for regexp support in filters. +2 if it can handle $1.. $9 syntax for using matched sub-expressions in subsequent parts of

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-21 Thread Josh
I'd like to be able to search for tiddlers with strings like * at the front, since those tiddlers refuse to open in edit mode. I've also found even TW5 rel 15 doesn't want to save after trying to edit a tiddler with * at the front of the tiddler title. Is it possible to do that given this

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-21 Thread Josh
Jeremy, After closer inspection I realised that the second query did work, I went from 650~ ish tiddlers to 350 which shaved 400+kb off the file size. I found that in both cases after running the queries in the console the console output this undefined line *[08:00:17.196] undefined *not

Re: [tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-21 Thread Josh
Hey Jeremy, Thanks, the first query worked great it showed me a list of all the duplicates, however when I ran the second query to delete the duplicates I got an undefined error: *--[08:00:17.194] $tw.wiki.forEachTiddler(function(title,tiddler) {if(/

[tw] creating a filter to show only duplicate tiddler titles with a number on the end like 2 3 4

2013-11-20 Thread Josh
I have just imported all my tiddlers from many failed backups using TW5 rel 14. I am now using Rel 15 but I have many duplicate tiddlers e.g. note 1 1 note 2 2 I would like to know how to modify the below list filter to show only notes that have a 2, 3 4, 5, etc on the end (these a the