in reply to Whats your favorite nonstandard regex quote char?


The following is also possible (if not entirely legible):
s g{.*?}g{$sub[$n++]}gg;

--
John.