Jess, Try: s/\$\{(\w+)\}/\$${1}/g; if i understood your problem correctly =) - John
On Sun, 28 Jul 2002, Balint, Jess wrote: > Hello all. I am getting an error with the following reg-exp: > > s/\$\{(\w+)\}/$$1/g; > > I am not sure exactly how to do this type of thing. Is there any way to get > around the error or must I turn off 'strict refs' for this line?? Thanks > alot. > > Jess > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]