Now with this code I get the first TODO from each tiddler, but can't get 
more TODOs if there are more than one in a tiddler...

<<forEachTiddler
     script 'function extract(str) {
         var patt=/\[ \].*\s/g;
         var r = patt.exec(str);
         if (r==null) {var r=[];}
         return r
     };'
    write 'extract(tiddler.text).join("\n");'
 >>

keep on trying

any help?

thanks

El miércoles, 17 de octubre de 2012 13:28:06 UTC+2, Natxo Oyanguren 
escribió:
>
> I'd like to calalog all my TODO, that I have in separate tiddlers. All of 
> them have the same estructure:
>
> [ ]I write here my TODO
>
> I'm trying fetcching them all in a new tiddler using forEachTiddlerPlugin, 
> but don't get the right reg expresion.
>
> May be more than a TODO in the same tiddler.
>
> Any help
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/Tu1sumzNceEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to