in reply to Whats your favorite nonstandard regex quote char?
s g{.*?}g{$sub[$n++]}gg; [download]
-- John.