the problem comes when multiple cstr gives results and assembles a prefix then. Need recursive parsing.
not the most elegant fix, but works. I first wanted to call a parser again but this is a simpler solution (manually parse the subst.
two questions to further improve:
what should be the evaluated results for this? ${lower:DC8m:-n} (both runable prefix and default exist)
can we improve the syntax to differentiate the first prefix and following prefix in ${lower:lijsdf:38d:vmm} so lower is recognized as a prefix but lijsdf:38d:vmm will be the value?
the problem comes when multiple
cstr
gives results and assembles aprefix
then. Need recursive parsing.not the most elegant fix, but works. I first wanted to call a parser again but this is a simpler solution (manually parse the
subst
.two questions to further improve:
${lower:DC8m:-n}
(both runable prefix and default exist)${lower:lijsdf:38d:vmm}
solower
is recognized as a prefix butlijsdf:38d:vmm
will be the value?