Try this:

testtiddler:
----------------
my $1 $2 $3 $4 $5


funnytiddler:
----------------
<<tiddler [[testtiddler]] with: "($2 $2)" "<$3 $3>" "[$4 $4]" "{$5 $5}" 
"X">>

You'll get
my (<[{X X} {X X}] [{X X} {X X}]> <[{X X} {X X}] [{X X} {X X}]>) <[{X X} {X 
X}] [{X X} {X X}]> [{X X} {X X}] {X X} X

I'd render this a bug as the (at least in the core tweaks) replacements are 
done sequentially

So in this case, $1 is replaced with "($2 $2)". Then $2 is replaced and so 
on.

The expected result would have been:

my ($2 $2) <$3 $3> [$4 $4] {$5 $5} X

I know this is a pathological case, but I don't think that it's unusual to 
have some "$x" in a parameter.

testtiddler:
----------------
I paid $1 for $2

funnytiddler
----------------
<<tiddler [[testtiddler]] with: "$2" "a pizza">>

Will give you then "I paid a pizza for a pizza"

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to