This surprised me:
<!-- Assume from-label="something" -->
<$let from-label={{!!rename-from-label}}
to-label={{!!rename-to-label}}
re="\b"
from-re-label={{{ [<re>] [<from-label>] [<re>] +[join[]] }}}>
Output: "something\b"
I had to do…
<$let from-label={{!!rename-from-label}}
to-label={{!!rename-to-label}}
re="\b"
from-re-label={{{ [<from-label>addprefix<re>addsuffix<re>] }}}>
to get: "\bsomething\b"
It’s often said that [...] [...] +[join[...]]
is the way to concatenate strings, bit it’s clearly not to be relied upon.
My question: exactly when does dedupe occur?
Comments?