Itamar O <itamar...@...> writes:

> 
> On Sat, Jun 5, 2010 at 8:43 PM, Rodrik
> <juliocezar.rodrig...@...> wrote:
> > Hi!
> >
> > When creating a macro to process some text,
> > - using expand_macro() -
> > how can I modify the text permanently, i.e.
> > that even if {{{#!macro}}} is deleted, the modifications
> > made by this macro won't get lost?
> >
> > Regards,
> >
> > Rodrik
> >

> 
> Hi Rodrik,
> 
> I could not understand what you are trying to do.
> From the definition of macros, they are expanded only when instantiated..
> If {{{#!macro}}} is removed, then the expand_macro is not called.
> Can you maybe explain what exactly you are trying to achieve?
> 
> Itamar.
> 
Hi Itamar,

Yes, I know that macros are expanded only when instantiated.
And the opposite is exactly what I need!
What I need is something that works like a macro
(or even a macro, if possible), but processes 
the text permanently, not only when instantiated. 
Can you understand what I mean?
If I, for example, need to remove all the parenthesis in the text, 
I would like that once the "macro" is executed, 
the parenthesis are gone for good.

I would be glad if you could help me on this!

Regards,

Rodrik.


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en.

Reply via email to