http://qs321.pair.com?node_id=196341


in reply to Re: Drop in regex replacements?
in thread Drop in regex replacements?

Thanks Ovid that makes more sense.

My origional code was in php and that did support adding the replace part of the regex as a string from somewhere else (i.e. a hash). I was thinking if preg_replace() can do it why can't a real perl replace regex do it :-)