I use this in a macro to add a something new between the first and the second line: var txt=txtoriginal.replace(/(.+)\n(.+)/, '$1\n' + txtcheckbox + '\n $2')
Problem is that when i use $1, because the macro accepts arguments the $1 is actually the argument AND the substitution, which clearly makes a mess out of the tiddler... Any way to fix this or an alternative to this method? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---