Hi,

I need to parse make variable reference like syntax:

$($(foo))

$(foo) should be detected first, replaced (let's say with bar) and resultant 
string $(bar) should be parsed the same way.
There can be any number of nested references like

$(abc$(foo)def)

Any suggestions how to define rules for this?

I used Regexp::Common to detect balanced parenthesis.


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

Reply via email to