Re: Substitutions in matched patterns?



Anton81 wrote:
> what is the easiest way to do substitutions in matched strings.
> For example I want to do s/ABC/DEF/g , but only if the ABC is between
> braces.

http://search.cpan.org
search for Regexp::Common::balanced

Paul Lalli

.



Relevant Pages