I've tried this code but only get the las TODO

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


??
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/-/TsKU2BOSyVIJ.
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