> > >>    config.commands.copyTiddler.suffixPattern=/ - ([0-9]+)$/;
> > > what change is required to force min 2 digits in 'n'?
> > changing "[0-9]+" to "[0-9]{2,}" should do the trick.
> Thanks - but didn't work:
> config.commands.copyTiddler.suffixText="-%0";
> config.commands.copyTiddler.suffixPattern=/-([0-9]{2,})$/;
> gave me
> test-one-1
> test-one-1-1
> test-one-1-1-1

The problem is that the number formatting in CopyTiddlerPlugin wasn't
set up to support zero-padding... until now :-)

Get the update (v3.1.2) here:
   http://www.TiddlyTools.com/#CopyTiddlerPlugin
and then add this to your [[CopyTiddlerPluginConfig]]:
   config.commands.copyTiddler.zeroPad=2;

enjoy,
-e

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
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