in reply to Re: Function call in regex replacement string
in thread Function call in regex replacement string
for (@array) { s/HAI WORLD Times ([0-9]+).*/ '\t\t<exML LOLZ = "' . $replacement->($1) . '"/>' /eg; }
for (@array) { s/$searchString/$replaceString/g; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Function call in regex replacement string
by tilly (Archbishop) on Feb 24, 2009 at 10:02 UTC | |
by PoorLuzer (Beadle) on Feb 25, 2009 at 09:27 UTC | |
by tilly (Archbishop) on Feb 26, 2009 at 01:23 UTC |