⭐
in reply to
Subroutines in a regex?
use
s/SUM(\d*)/sum($1)/eg
[download]
this will execute the subroutine.
Comment on
Re: Subroutines in a regex?
Download
Code
In Section
Seekers of Perl Wisdom