Never mind! The "|" substitution is done after the "eval::[]" call, so
eval["|"] works because it returns "|" which is then substitution.
Solution -- use a filter instead.
Phil
Phillip Lord <[email protected]> writes:
> I'm trying to get the eval macro to work with the content for a
> paragraph.
>
> If I set up a paragraph template, then do
>
> [xxxx]
> Test String
>
> then in the conf file:
> Eval Starts Next:
> eval::['|']
> eval::[re.sub(r'.','-','hello')]
> eval::[re.sub(r'.','-','|')]
--
You received this message because you are subscribed to the Google Groups
"asciidoc" 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/asciidoc?hl=en.