On Tue, 22 Feb 2005, David Woodhouse wrote:
>
> Could you do this with lookups instead of a special string expansion?
Yes, I suppose so, though the adaptation layer would be a bit more heavy
and inflexible until ${lookup is made modular at run-time. The purpose I
have in mind fits the ${perl model slightly better than the ${lookup
model, though perhaps a ${lookup perl{...} } would also be part of your
plans for the future :-)
Tony.
--
<fanf@???> <dot@???>
http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}