in reply to Subroutines in a regex?
For I think you want to have the SUM characters stripped off, don't you?s/(SUM(\d*))/&sum($2)/eg
[1] Do What I Mean
--
Alfie
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Answer: Subroutines in a regex?
by busunsl (Vicar) on Apr 05, 2001 at 14:56 UTC |